diff --git a/testing/database.rst b/testing/database.rst index c2b50bc139d..ed587f3427e 100644 --- a/testing/database.rst +++ b/testing/database.rst @@ -91,6 +91,7 @@ Customize the new class to load ``Product`` objects into Doctrine:: // src/DataFixtures/ProductFixture.php namespace App\DataFixtures; + use App\Entity\Product; use Doctrine\Bundle\FixturesBundle\Fixture; use Doctrine\Common\Persistence\ObjectManager;