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 19
19
use Symfony \Component \Security \Core \Authentication \Token \TokenInterface ;
20
20
use Symfony \Component \Security \Core \Authentication \Token \UsernamePasswordToken ;
21
21
use Symfony \Component \Security \Core \Exception \BadCredentialsException ;
22
- use Symfony \Component \Security \Core \Exception \UsernameNotFoundException ;
22
+ use Symfony \Component \Security \Core \Exception \UserNotFoundException ;
23
23
use Symfony \Component \Security \Core \User \InMemoryUser ;
24
24
use Symfony \Component \Security \Http \Authentication \AuthenticatorManager ;
25
25
use Symfony \Component \Security \Http \Authenticator \InteractiveAuthenticatorInterface ;
@@ -271,7 +271,7 @@ public function testInteractiveAuthenticator()
271
271
272
272
public function testAuthenticateRequestHidesInvalidUserExceptions ()
273
273
{
274
- $ invalidUserException = new UsernameNotFoundException ();
274
+ $ invalidUserException = new UserNotFoundException ();
275
275
$ authenticator = $ this ->createMock (InteractiveAuthenticatorInterface::class);
276
276
$ this ->request ->attributes ->set ('_security_authenticators ' , [$ authenticator ]);
277
277
You can’t perform that action at this time.
0 commit comments