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.
1 parent 4a65fd9 commit b850c17Copy full SHA for b850c17
tests/DependencyInjection/SonataDoctrineMongoDBAdminExtensionTest.php
@@ -15,6 +15,7 @@
15
16
use Matthias\SymfonyDependencyInjectionTest\PhpUnit\AbstractExtensionTestCase;
17
use Sonata\DoctrineMongoDBAdminBundle\DependencyInjection\SonataDoctrineMongoDBAdminExtension;
18
+use Symfony\Component\DependencyInjection\Reference;
19
20
final class SonataDoctrineMongoDBAdminExtensionTest extends AbstractExtensionTestCase
21
{
@@ -52,7 +53,7 @@ public function testEntityManagerSetFactory(): void
52
53
$this->assertContainerBuilderHasServiceDefinitionWithArgument(
54
'sonata.admin.manipulator.acl.object.doctrine_mongodb',
55
0,
- 'doctrine_mongodb'
56
+ new Reference('doctrine_mongodb')
57
);
58
}
59
0 commit comments