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`_.