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 1616use Symfony \Component \PasswordHasher \Hasher \PasswordHasherFactoryInterface ;
1717use Symfony \Component \PasswordHasher \PasswordHasherInterface ;
1818use Symfony \Component \Security \Core \Authentication \Token \TokenInterface ;
19+ use Symfony \Component \Security \Core \User \InMemoryUser ;
1920use Symfony \Component \Security \Core \User \PasswordAuthenticatedUserInterface ;
2021use Symfony \Component \Security \Core \User \PasswordUpgraderInterface ;
21- use Symfony \Component \Security \Core \User \User ;
2222use Symfony \Component \Security \Core \User \UserInterface ;
2323use Symfony \Component \Security \Core \User \UserProviderInterface ;
2424use Symfony \Component \Security \Http \Authenticator \AuthenticatorInterface ;
@@ -112,7 +112,7 @@ public function testUpgradeWithoutUpgrader()
112112
113113 public function testUserWithoutPassword ()
114114 {
115- $ this ->user = new User ('test ' , null );
115+ $ this ->user = new InMemoryUser ('test ' , null );
116116
117117 $ this ->hasherFactory ->expects ($ this ->never ())->method ('getPasswordHasher ' );
118118
You can’t perform that action at this time.
0 commit comments