diff --git a/testing/database.rst b/testing/database.rst index 97b2f3fdfd5..744c5da4fa9 100644 --- a/testing/database.rst +++ b/testing/database.rst @@ -98,7 +98,7 @@ so, get the entity manager via the service container as follows:: class ProductRepositoryTest extends KernelTestCase { - private \Doctrine\ORM\EntityManager $entityManager; + private \Doctrine\Persistence\ObjectManager $entityManager; protected function setUp(): void {