Fixed some inspection issues

This commit is contained in:
Jan Böhmer 2022-12-18 19:45:04 +01:00
parent c6f1758a18
commit 8ae4e9fe05
39 changed files with 46 additions and 56 deletions

View file

@ -22,8 +22,8 @@ declare(strict_types=1);
namespace App\Tests\Controller;
use App\Entity\UserSystem\User;
use Doctrine\ORM\EntityManagerInterface;
use Proxies\__CG__\App\Entity\UserSystem\User;
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
/**
@ -44,7 +44,7 @@ class RedirectControllerTest extends WebTestCase
]);
$this->client->disableReboot();
$this->client->catchExceptions(false);
$this->em = self::$container->get(EntityManagerInterface::class);
$this->em = self::getContainer()->get(EntityManagerInterface::class);
$this->userRepo = $this->em->getRepository(User::class);
}