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
minor #875 [ci][make-controller] set framework.test in test env (jrushlow)
This PR was squashed before being merged into the 1.0-dev branch.
Discussion
----------
[ci][make-controller] set framework.test in test env
fixes
```
1) Symfony\Bundle\MakerBundle\Tests\Maker\MakeControllerTest::testExecute with data set "controller_basic" (Symfony\Bundle\MakerBundle\Test\MakerTestDetails Object (...))
Error while running the PHPUnit tests *in* the project:
PHPUnit 8.5.15 by Sebastian Bergmann and contributors.
Testing Project Test Suite
E 1 / 1 (100%)
Time: 162 ms, Memory: 20.00 MB
There was 1 error:
1) App\Tests\GeneratedControllerTest::testController
LogicException: You cannot create the client used in functional tests if the "framework.test" config is not set to true.
/var/htdocs/tests/tmp/cache/maker_app_f06e46ebe75d42ea9e9b63872d47e20b5.x-dev/vendor/symfony/framework-bundle/Test/WebTestCase.php:52
/var/htdocs/tests/tmp/cache/maker_app_f06e46ebe75d42ea9e9b63872d47e20b5.x-dev/tests/GeneratedControllerTest.php:11
```
Commits
-------
2e03945 [ci][make-controller] set framework.test in test env
0 commit comments