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 d59c2a3 + 3772da1 commit 828d26aCopy full SHA for 828d26a
Tests/DependencyInjection/FormPassTest.php
@@ -58,12 +58,14 @@ public function testAddTaggedTypes()
58
59
$extDefinition = $container->getDefinition('form.extension');
60
61
+ $locator = $extDefinition->getArgument(0);
62
+ $this->assertTrue(!$locator->isPublic() || $locator->isPrivate());
63
$this->assertEquals(
64
(new Definition(ServiceLocator::class, [[
65
__CLASS__.'_Type1' => new ServiceClosureArgument(new Reference('my.type1')),
66
__CLASS__.'_Type2' => new ServiceClosureArgument(new Reference('my.type2')),
67
]]))->addTag('container.service_locator')->setPublic(false),
- $extDefinition->getArgument(0)
68
+ $locator->setPublic(false)
69
);
70
}
71
0 commit comments