Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0abfb56

Browse files
committed
fix merge
1 parent 1408af3 commit 0abfb56

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Symfony/Component/Security/Http/Tests/EventListener/PasswordMigratingListenerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
use Symfony\Component\PasswordHasher\Hasher\PasswordHasherFactoryInterface;
1717
use Symfony\Component\PasswordHasher\PasswordHasherInterface;
1818
use Symfony\Component\Security\Core\Authentication\Token\TokenInterface;
19+
use Symfony\Component\Security\Core\User\InMemoryUser;
1920
use Symfony\Component\Security\Core\User\PasswordAuthenticatedUserInterface;
2021
use Symfony\Component\Security\Core\User\PasswordUpgraderInterface;
21-
use Symfony\Component\Security\Core\User\User;
2222
use Symfony\Component\Security\Core\User\UserInterface;
2323
use Symfony\Component\Security\Core\User\UserProviderInterface;
2424
use 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

0 commit comments

Comments
 (0)