mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-06-27 20:28:54 +02:00
Fixed some inspection issues
This commit is contained in:
parent
c6f1758a18
commit
8ae4e9fe05
39 changed files with 46 additions and 56 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue