fixup! Fix configuration and usage of password hasher

This commit is contained in:
2024-04-08 13:45:37 +02:00
parent e3bd68112e
commit 29d53c53a4

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]);