Skip to content

Commit

Permalink
Fix test reference
Browse files Browse the repository at this point in the history
  • Loading branch information
franmomu authored and github-actions[bot] committed Jan 23, 2024
1 parent 4a65fd9 commit b850c17
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@

use Matthias\SymfonyDependencyInjectionTest\PhpUnit\AbstractExtensionTestCase;
use Sonata\DoctrineMongoDBAdminBundle\DependencyInjection\SonataDoctrineMongoDBAdminExtension;
use Symfony\Component\DependencyInjection\Reference;

final class SonataDoctrineMongoDBAdminExtensionTest extends AbstractExtensionTestCase
{
Expand Down Expand Up @@ -52,7 +53,7 @@ public function testEntityManagerSetFactory(): void
$this->assertContainerBuilderHasServiceDefinitionWithArgument(
'sonata.admin.manipulator.acl.object.doctrine_mongodb',
0,
'doctrine_mongodb'
new Reference('doctrine_mongodb')
);
}

Expand Down

0 comments on commit b850c17

Please sign in to comment.