File tree 1 file changed +2
-2
lines changed
src/Symfony/Component/Security/Http/Tests/EventListener
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 16
16
use Symfony \Component \PasswordHasher \Hasher \PasswordHasherFactoryInterface ;
17
17
use Symfony \Component \PasswordHasher \PasswordHasherInterface ;
18
18
use Symfony \Component \Security \Core \Authentication \Token \TokenInterface ;
19
+ use Symfony \Component \Security \Core \User \InMemoryUser ;
19
20
use Symfony \Component \Security \Core \User \PasswordAuthenticatedUserInterface ;
20
21
use Symfony \Component \Security \Core \User \PasswordUpgraderInterface ;
21
- use Symfony \Component \Security \Core \User \User ;
22
22
use Symfony \Component \Security \Core \User \UserInterface ;
23
23
use Symfony \Component \Security \Core \User \UserProviderInterface ;
24
24
use Symfony \Component \Security \Http \Authenticator \AuthenticatorInterface ;
@@ -112,7 +112,7 @@ public function testUpgradeWithoutUpgrader()
112
112
113
113
public function testUserWithoutPassword ()
114
114
{
115
- $ this ->user = new User ('test ' , null );
115
+ $ this ->user = new InMemoryUser ('test ' , null );
116
116
117
117
$ this ->hasherFactory ->expects ($ this ->never ())->method ('getPasswordHasher ' );
118
118
You can’t perform that action at this time.
0 commit comments