Skip to content

Commit 13f9ee5

Browse files
committed
Fix tests
1 parent f67d11c commit 13f9ee5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bundle/SecurityBundle/Tests/Functional/SecurityTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public function testServiceIsFunctional()
2828
// put a token into the storage so the final calls can function
2929
$user = new InMemoryUser('foo', 'pass');
3030
$token = new UsernamePasswordToken($user, '', 'provider', ['ROLE_USER']);
31-
$container->get('security.token_storage.alias')->setToken($token);
31+
$container->get('functional.test.security.token_storage')->setToken($token);
3232

3333
$security = $container->get('functional_test.security.helper');
3434
$this->assertTrue($security->isGranted('ROLE_USER'));

0 commit comments

Comments
 (0)