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 7eb8bcf commit a4eb4b9Copy full SHA for a4eb4b9
src/Symfony/Bundle/SecurityBundle/Tests/DependencyInjection/SecurityExtensionTest.php
@@ -115,10 +115,7 @@ public function testDisableRoleHierarchyVoter()
115
116
$container->compile();
117
118
- $admDefinition = $container->getDefinition('security.access.decision_manager');
119
- $registeredVoters = array_map('strval', $admDefinition->getArgument(0));
120
-
121
- $this->assertNotContains('security.access.role_hierarchy_voter', $registeredVoters);
+ $this->assertFalse($container->getDefinition('security.access.role_hierarchy_voter'));
122
}
123
124
protected function getRawContainer()
0 commit comments