Closed
Description
Description
FrameworkBundle has two classes called WebTestCase
:
- https://github.com/symfony/symfony/blob/4.4/src/Symfony/Bundle/FrameworkBundle/Test/WebTestCase.php
- https://github.com/symfony/symfony/blob/4.4/src/Symfony/Bundle/FrameworkBundle/Tests/Functional/WebTestCase.php
The second is only meant for our internal tests. But because it has the same-name, it's easy for a user to extend the wrong one from their own tests. There is also another internal WebTestCase
inside SecurityBundle.
Has this been discussed before? It seems like an easy win to rename this internal testing class to something else.