We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 30726e9 + e2820a9 commit c93b036Copy full SHA for c93b036
Tests/DoctrineTestHelper.php
@@ -60,6 +60,10 @@ public static function createTestConfiguration(): Configuration
60
$config->setMetadataDriverImpl(new AttributeDriver([__DIR__.'/../Tests/Fixtures' => 'Symfony\Bridge\Doctrine\Tests\Fixtures'], true));
61
$config->setSchemaManagerFactory(new DefaultSchemaManagerFactory());
62
63
+ if (method_exists(Configuration::class, 'setLazyGhostObjectEnabled')) {
64
+ $config->setLazyGhostObjectEnabled(true);
65
+ }
66
+
67
return $config;
68
}
69
0 commit comments