Skip to content

Commit 120e80e

Browse files
Merge branch '5.2' into 5.3
* 5.2: [FrameworkBundle] fix leftover
2 parents c4ff310 + 635ba97 commit 120e80e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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') && !$container->has('session_factory')) {

0 commit comments

Comments
 (0)