mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-28 18:43:49 +00:00
fix tests for filter and aggregators: boot kernel instead of calling parent::setUp
This commit is contained in:
@@ -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');
|
||||
}
|
||||
|
@@ -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');
|
||||
}
|
||||
|
@@ -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');
|
||||
}
|
||||
|
@@ -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');
|
||||
}
|
||||
|
@@ -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');
|
||||
}
|
||||
|
@@ -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');
|
||||
}
|
||||
|
@@ -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');
|
||||
}
|
||||
|
Reference in New Issue
Block a user