File tree Expand file tree Collapse file tree 1 file changed +9
-0
lines changed
src/Symfony/Bundle/SecurityBundle/Tests/Functional Expand file tree Collapse file tree 1 file changed +9
-0
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,15 @@ public function testAccessDecisionManagerAutowiring()
22
22
$ this ->assertInstanceOf ('Symfony\Component\Security\Core\Authorization\AccessDecisionManager ' , $ accessDecisionManager );
23
23
}
24
24
25
+ public function testDebugAccessDecisionManagerAutowiring ()
26
+ {
27
+ static ::bootKernel (array ('debug ' => true ));
28
+ $ container = static ::$ kernel ->getContainer ();
29
+
30
+ $ accessDecisionManager = $ container ->get ('test.autowiring_types.autowired_services ' )->getAccessDecisionManager ();
31
+ $ this ->assertInstanceOf ('Symfony\Component\Security\Core\Authorization\AccessDecisionManager ' , $ accessDecisionManager );
32
+ }
33
+
25
34
protected static function createKernel (array $ options = array ())
26
35
{
27
36
return parent ::createKernel (array ('test_case ' => 'AutowiringTypes ' ) + $ options );
You can’t perform that action at this time.
0 commit comments