File tree 1 file changed +3
-5
lines changed
src/Symfony/Bundle/FrameworkBundle/Tests/Controller
1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -41,15 +41,13 @@ public function testSubscribedServices()
41
41
'twig ' => '?Twig \\Environment ' ,
42
42
'doctrine ' => '?Doctrine \\Common \\Persistence \\ManagerRegistry ' ,
43
43
'form.factory ' => '?Symfony \\Component \\Form \\FormFactoryInterface ' ,
44
- 'security.token_storage ' => '?Symfony \\Component \\Security \\Core \\Authentication \\Token \\Storage \\TokenStorageInterface ' ,
45
- 'security.csrf.token_manager ' => '?Symfony \\Component \\Security \\Csrf \\CsrfTokenManagerInterface ' ,
46
44
'parameter_bag ' => '?Symfony \\Component \\DependencyInjection \\ParameterBag \\ContainerBagInterface ' ,
47
45
'message_bus ' => '?Symfony \\Component \\Messenger \\MessageBusInterface ' ,
46
+ 'security.token_storage ' => '?Symfony \\Component \\Security \\Core \\Authentication \\Token \\Storage \\TokenStorageInterface ' ,
47
+ 'security.csrf.token_manager ' => '?Symfony \\Component \\Security \\Csrf \\CsrfTokenManagerInterface ' ,
48
48
);
49
49
50
- foreach ($ expectedServices as $ id => $ reference ) {
51
- $ this ->assertSame ($ reference , $ subscribed [$ id ]);
52
- }
50
+ $ this ->assertEquals ($ expectedServices , $ subscribed , 'Subscribed core services in AbstractController have changed ' );
53
51
}
54
52
<
409A
code class="diff-text syntax-highlighted-line">
55
53
public function testGetParameter ()
You can’t perform that action at this time.
0 commit comments