Skip to content

Commit 5f546fa

Browse files
Merge branch '6.2' into 6.3
* 6.2: Fix merge
2 parents e36bb3f + 601bcc1 commit 5f546fa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Tests/SecurityTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ public function testLogin()
141141
->willReturnMap([
142142
['request_stack', $requestStack],
143143
['security.firewall.map', $firewallMap],
144-
['security.authenticator.managers_locator', new ServiceLocator(['main' => fn () => $userAuthenticator])],
144+
['security.authenticator.managers_locator', $this->createContainer('main', $userAuthenticator)],
145145
['security.user_checker', $userChecker],
146146
])
147147
;
@@ -187,7 +187,7 @@ public function testLoginReturnsAuthenticatorResponse()
187187
->willReturnMap([
188188
['request_stack', $requestStack],
189189
['security.firewall.map', $firewallMap],
190-
['security.user_authenticator', $userAuthenticator],
190+
['security.authenticator.managers_locator', $this->createContainer('main', $userAuthenticator)],
191191
['security.user_checker', $userChecker],
192192
])
193193
;

0 commit comments

Comments
 (0)