fix tests for filter and aggregators: boot kernel instead of calling parent::setUp

This commit is contained in:
2023-07-30 22:21:57 +02:00
parent 984c35f8bc
commit 4b989fe25c
14 changed files with 7 additions and 14 deletions

View File

@@ -33,7 +33,7 @@ final class AgentAggregatorTest extends AbstractAggregatorTest
protected function setUp(): void
{
parent::setUp();
self::bootKernel();
$this->aggregator = self::$container->get('chill.calendar.export.agent_aggregator');
}

View File

@@ -33,7 +33,7 @@ final class CancelReasonAggregatorTest extends AbstractAggregatorTest
protected function setUp(): void
{
parent::setUp();
self::bootKernel();
$this->aggregator = self::$container->get('chill.calendar.export.cancel_reason_aggregator');
}

View File

@@ -33,7 +33,7 @@ final class JobAggregatorTest extends AbstractAggregatorTest
protected function setUp(): void
{
parent::setUp();
self::bootKernel();
$this->aggregator = self::$container->get('chill.calendar.export.job_aggregator');
}

View File

@@ -33,7 +33,7 @@ final class LocationAggregatorTest extends AbstractAggregatorTest
protected function setUp(): void
{
parent::setUp();
self::bootKernel();
$this->aggregator = self::$container->get('chill.calendar.export.location_aggregator');
}

View File

@@ -33,7 +33,7 @@ final class LocationTypeAggregatorTest extends AbstractAggregatorTest
protected function setUp(): void
{
parent::setUp();
self::bootKernel();
$this->aggregator = self::$container->get('chill.calendar.export.location_type_aggregator');
}

View File

@@ -33,7 +33,7 @@ final class MonthYearAggregatorTest extends AbstractAggregatorTest
protected function setUp(): void
{
parent::setUp();
self::bootKernel();
$this->aggregator = self::$container->get('chill.calendar.export.month_aggregator');
}

View File

@@ -33,7 +33,7 @@ final class ScopeAggregatorTest extends AbstractAggregatorTest
protected function setUp(): void
{
parent::setUp();
self::bootKernel();
$this->aggregator = self::$container->get('chill.calendar.export.scope_aggregator');
}