Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 769a05b

Browse files
[FrameworkBundle] fix leftover
1 parent 4a125a8 commit 769a05b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bundle/FrameworkBundle/KernelBrowser.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ public function loginUser($user, string $firewallContext = 'main'): self
125125
$token = new TestBrowserToken($user->getRoles(), $user, $firewallContext);
126126
$token->setAuthenticated(true);
127127

128-
$container = $this->getContainer()->get('test.service_container');
128+
$container = $this->getContainer();
129129
$container->get('security.untracked_token_storage')->setToken($token);
130130

131131
if (!$container->has('session')) {

0 commit comments

Comments
 (0)