-
Notifications
You must be signed in to change notification settings - Fork 182
Closed
Description
Preconditions
- Bundle version : 4.3.1
- Symfony version : 5.3
Steps to reproduce
- Create a test class that extends
Liip\FunctionalTestBundle\Test\WebTestCase
- Create a test
- Run the test
Expected result
- Test run without error
Actual result
An error occured:
In WebTestCase.php line 205:
Compile Error: Cannot make static method Symfony\Bundle\FrameworkBundle\Test\KernelTestCase::getContainer() non static in class Liip\FunctionalTestBundle\Test\WebTestCase
It's due to this PR on SF 5.3 : symfony/symfony#40366
I can propose a PR to fix that. Can we remove getContainer
method from WebTestCase and use SF's one ? Or rename it ? Or other thing ?
For now i copy / paste WebTestCase class in my code and remove the getContainer method. All tests run like before
Metadata
Metadata
Assignees
Labels
No labels