mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-05 22:35:01 +00:00
fixes after merge of master into upgrade-sf4
This commit is contained in:
@@ -30,9 +30,7 @@ class EventListControllerTest extends WebTestCase
|
||||
private readonly PaginatorFactory $paginatorFactory;
|
||||
private readonly Environment $environment;
|
||||
|
||||
protected function setUp(): void
|
||||
{
|
||||
}
|
||||
protected function setUp(): void {}
|
||||
|
||||
public function testList(): void
|
||||
{
|
||||
|
@@ -48,8 +48,8 @@ final class ParticipationControllerTest extends WebTestCase
|
||||
|
||||
protected function prepareDI(): void
|
||||
{
|
||||
$this->em = self::$container->get(EntityManagerInterface::class);
|
||||
$this->eventRepository = self::$container->get(EventRepository::class);
|
||||
$this->em = self::getContainer()->get(EntityManagerInterface::class);
|
||||
$this->eventRepository = self::getContainer()->get(EventRepository::class);
|
||||
|
||||
$this->personsIdsCache = [];
|
||||
}
|
||||
|
@@ -67,7 +67,7 @@ class EventACLAwareRepositoryTest extends KernelTestCase
|
||||
|
||||
public function buildEventACLAwareRepository(): EventACLAwareRepository
|
||||
{
|
||||
$em = self::$container->get(EntityManagerInterface::class);
|
||||
$em = self::getContainer()->get(EntityManagerInterface::class);
|
||||
$user = $em->createQuery('SELECT u FROM '.User::class.' u')
|
||||
->setMaxResults(1)
|
||||
->getSingleResult()
|
||||
|
Reference in New Issue
Block a user