You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
getting the following error while running WebTestCase tests
symfony php bin/phpunit
PHPUnit 9.6.19 by Sebastian Bergmann and contributors.
Testing
E 1 / 1 (100%)
Time: 00:00.102, Memory: 20.00 MB
There was 1 error:
1) App\Tests\WebTest::testSomething
LogicException: You cannot create the client used in functional tests if the "framework.test" config is not set to true.
/tmp/test/vendor/symfony/framework-bundle/Test/WebTestCase.php:50
/tmp/test/tests/WebTest.php:11
/tmp/test/vendor/phpunit/phpunit/phpunit:107
Symfony version(s) affected
7.0.7
Description
getting the following error while running WebTestCase tests
How to reproduce
Possible Solution
modify
phpunit.xml.dist
fileAdditional Context
No response
The text was updated successfully, but these errors were encountered: