Category: functional-testing

Can’t create test that extends WebTestCase in Symfony

I’m having difficulty creating functional test for my bundle. Whenever I create a test class that extends SymfonyBundleFrameworkBundleTestWebTestCase and launch bin/phpunit, I get following error: Fatal error: Cannot declare class <MyTestClass>, because the name is already in use in <path/to/my/test/class>…