Skip to content

Commit e47a484

Browse files
committed
fix ci
1 parent e2047a3 commit e47a484

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

tests/Integration/Infrastructure/Controller/AbstractWebTestCase.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,19 @@
55
namespace App\Tests\Integration\Infrastructure\Controller;
66

77
use App\Infrastructure\Persistence\Doctrine\Fixtures\UserFixture;
8+
use App\Infrastructure\Security\Provider\PasswordUserProvider;
89
use Symfony\Bundle\FrameworkBundle\KernelBrowser;
910
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
1011
use Symfony\Component\DomCrawler\Crawler;
11-
use Symfony\Component\Security\Core\User\UserProviderInterface;
1212

1313
abstract class AbstractWebTestCase extends WebTestCase
1414
{
1515
protected function login(string $email = UserFixture::MAIN_ORG_USER_EMAIL): KernelBrowser
1616
{
1717
$client = static::createClient();
1818

19-
/** @var UserProviderInterface */
20-
$userProvider = static::getContainer()->get(UserProviderInterface::class);
19+
/** @var PasswordUserProvider */
20+
$userProvider = static::getContainer()->get(PasswordUserProvider::class);
2121
$user = $userProvider->loadUserByIdentifier($email);
2222

2323
$client->loginUser($user);

0 commit comments

Comments
 (0)