From d6529e20cc8dfcd0904c94d29963f75c725d07d8 Mon Sep 17 00:00:00 2001 From: LauranneM <50316865+LauranneM@users.noreply.github.com> Date: Wed, 6 Oct 2021 16:24:32 +0200 Subject: [PATCH] Update fixtures load command Use --env=test to load fixtures in the test database --- testing.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing.rst b/testing.rst index 1b0079be88a..001a3a8ed7a 100644 --- a/testing.rst +++ b/testing.rst @@ -408,7 +408,7 @@ Empty the database and reload *all* the fixture classes with: .. code-block:: terminal - $ php bin/console doctrine:fixtures:load + $ php bin/console --env=test doctrine:fixtures:load For more information, read the `DoctrineFixturesBundle documentation`_.