-
Notifications
You must be signed in to change notification settings - Fork 181
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Call to undefined method doRun() #565
Comments
This is broken from SF 4.4, running a fresh install
Gives error:
|
@ebuildy You have this error without installing LiipFunctionalTestBundle? |
Ho yeah totally unrelated, 😔
Le lun. 5 févr. 2024, 10:39, Alexis Lefebvre ***@***.***> a
écrit :
… @ebuildy <https://github.com/ebuildy> You have this error without
installing LiipFunctionalTestBundle?
—
Reply to this email directly, view it on GitHub
<#565 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJJZ2LZPNJXPWNTX5UNLDDYSD4KDAVCNFSM4LEK7Z2KU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOJSG4ZDQMJRGI3Q>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Thanks for reporting it though, it gives an interesting insight on this error. I can't find a call to |
Looks like symfony is doing some shit with their phpunit bridge , this
drive me nuts
Le lun. 5 févr. 2024, 11:06, Alexis Lefebvre ***@***.***> a
écrit :
… Thanks for reporting it though, it gives an interesting insight on this
error.
I can't find a call to doRun in this bundle, so I don't get what is the
root cause of this error.
—
Reply to this email directly, view it on GitHub
<#565 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJJZ2KHJWE2DKH5EDVND7LYSD7QLAVCNFSM4LEK7Z2KU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TCOJSG4ZTGNZXHEYQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
OK got it! In Symfony documentation, for 4.4 at https://symfony.com/doc/4.x/testing.html, they said:
But symfony bridge is using another version of phpunit, tuned by Symfony. So you dont need to install phpunit. But your library requires phpunit, which is not compatible with symfony-phpunit bridge concept :-/ Please post your composer.lock content here so I could help |
Preconditions
.env.test
looks like this:and the
test.sqlite
database has been created and has the correct schema.Steps to reproduce
After installing the bundle and running
./bin/phpunit
, I get this error:EDIT:
It works if you run
./vendor/bin/phpunit
. So apparently it doesn't work with the bridge version.The text was updated successfully, but these errors were encountered: