File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1919use Symfony \Component \Security \Core \Authentication \Token \TokenInterface ;
2020use Symfony \Component \Security \Core \Authentication \Token \UsernamePasswordToken ;
2121use Symfony \Component \Security \Core \Exception \BadCredentialsException ;
22- use Symfony \Component \Security \Core \Exception \UsernameNotFoundException ;
22+ use Symfony \Component \Security \Core \Exception \UserNotFoundException ;
2323use Symfony \Component \Security \Core \User \InMemoryUser ;
2424use Symfony \Component \Security \Http \Authentication \AuthenticatorManager ;
2525use Symfony \Component \Security \Http \Authenticator \InteractiveAuthenticatorInterface ;
@@ -271,7 +271,7 @@ public function testInteractiveAuthenticator()
271271
272272 public function testAuthenticateRequestHidesInvalidUserExceptions ()
273273 {
274- $ invalidUserException = new UsernameNotFoundException ();
274+ $ invalidUserException = new UserNotFoundException ();
275275 $ authenticator = $ this ->createMock (InteractiveAuthenticatorInterface::class);
276276 $ this ->request ->attributes ->set ('_security_authenticators ' , [$ authenticator ]);
277277
You can’t perform that action at this time.
0 commit comments