fixup! Fix configuration and usage of password hasher

This commit is contained in:
Julien Fastré 2024-04-08 13:45:37 +02:00
parent e3bd68112e
commit 29d53c53a4
Signed by: julienfastre
GPG Key ID: BDE2190974723FCB

View File

@ -139,7 +139,7 @@ final class UserControllerTest extends WebTestCase
{
/** @var \Symfony\Component\PasswordHasher\Hasher\UserPasswordHasher $passwordEncoder */
$passwordEncoder = self::getContainer()
->get(\Symfony\Component\PasswordHasher\Hasher\UserPasswordHasherInterface::class);
->get(UserPasswordHasherInterface::class);
$user = self::getContainer()->get(UserRepositoryInterface::class)
->findOneBy(['username' => $username]);