Skip to content

Commit 9daea17

Browse files
committed
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
2 parents dabfffe + 2e03945 commit 9daea17

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

tests/fixtures/MakeController/config/packages/framework.yaml

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)