mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
fix tests for filter and aggregators: boot kernel instead of calling parent::setUp
This commit is contained in:
parent
984c35f8bc
commit
4b989fe25c
@ -33,7 +33,7 @@ final class AgentAggregatorTest extends AbstractAggregatorTest
|
|||||||
|
|
||||||
protected function setUp(): void
|
protected function setUp(): void
|
||||||
{
|
{
|
||||||
parent::setUp();
|
self::bootKernel();
|
||||||
|
|
||||||
$this->aggregator = self::$container->get('chill.calendar.export.agent_aggregator');
|
$this->aggregator = self::$container->get('chill.calendar.export.agent_aggregator');
|
||||||
}
|
}
|
||||||
|
@ -33,7 +33,7 @@ final class CancelReasonAggregatorTest extends AbstractAggregatorTest
|
|||||||
|
|
||||||
protected function setUp(): void
|
protected function setUp(): void
|
||||||
{
|
{
|
||||||
parent::setUp();
|
self::bootKernel();
|
||||||
|
|
||||||
$this->aggregator = self::$container->get('chill.calendar.export.cancel_reason_aggregator');
|
$this->aggregator = self::$container->get('chill.calendar.export.cancel_reason_aggregator');
|
||||||
}
|
}
|
||||||
|
@ -33,7 +33,7 @@ final class JobAggregatorTest extends AbstractAggregatorTest
|
|||||||
|
|
||||||
protected function setUp(): void
|
protected function setUp(): void
|
||||||
{
|
{
|
||||||
parent::setUp();
|
self::bootKernel();
|
||||||
|
|
||||||
$this->aggregator = self::$container->get('chill.calendar.export.job_aggregator');
|
$this->aggregator = self::$container->get('chill.calendar.export.job_aggregator');
|
||||||
}
|
}
|
||||||
|
@ -33,7 +33,7 @@ final class LocationAggregatorTest extends AbstractAggregatorTest
|
|||||||
|
|
||||||
protected function setUp(): void
|
protected function setUp(): void
|
||||||
{
|
{
|
||||||
parent::setUp();
|
self::bootKernel();
|
||||||
|
|
||||||
$this->aggregator = self::$container->get('chill.calendar.export.location_aggregator');
|
$this->aggregator = self::$container->get('chill.calendar.export.location_aggregator');
|
||||||
}
|
}
|
||||||
|
@ -33,7 +33,7 @@ final class LocationTypeAggregatorTest extends AbstractAggregatorTest
|
|||||||
|
|
||||||
protected function setUp(): void
|
protected function setUp(): void
|
||||||
{
|
{
|
||||||
parent::setUp();
|
self::bootKernel();
|
||||||
|
|
||||||
$this->aggregator = self::$container->get('chill.calendar.export.location_type_aggregator');
|
$this->aggregator = self::$container->get('chill.calendar.export.location_type_aggregator');
|
||||||
}
|
}
|
||||||
|
@ -33,7 +33,7 @@ final class MonthYearAggregatorTest extends AbstractAggregatorTest
|
|||||||
|
|
||||||
protected function setUp(): void
|
protected function setUp(): void
|
||||||
{
|
{
|
||||||
parent::setUp();
|
self::bootKernel();
|
||||||
|
|
||||||
$this->aggregator = self::$container->get('chill.calendar.export.month_aggregator');
|
$this->aggregator = self::$container->get('chill.calendar.export.month_aggregator');
|
||||||
}
|
}
|
||||||
|
@ -33,7 +33,7 @@ final class ScopeAggregatorTest extends AbstractAggregatorTest
|
|||||||
|
|
||||||
protected function setUp(): void
|
protected function setUp(): void
|
||||||
{
|
{
|
||||||
parent::setUp();
|
self::bootKernel();
|
||||||
|
|
||||||
$this->aggregator = self::$container->get('chill.calendar.export.scope_aggregator');
|
$this->aggregator = self::$container->get('chill.calendar.export.scope_aggregator');
|
||||||
}
|
}
|
||||||
|
@ -26,7 +26,6 @@ final class ActiveOnDateFilterTest extends AbstractFilterTest
|
|||||||
|
|
||||||
protected function setUp(): void
|
protected function setUp(): void
|
||||||
{
|
{
|
||||||
//parent::setUp();
|
|
||||||
self::bootKernel();
|
self::bootKernel();
|
||||||
|
|
||||||
$this->filter = self::$container->get('chill.person.export.filter_activeondate');
|
$this->filter = self::$container->get('chill.person.export.filter_activeondate');
|
||||||
|
@ -26,7 +26,6 @@ final class ActiveOneDayBetweenDatesFilterTest extends AbstractFilterTest
|
|||||||
|
|
||||||
protected function setUp(): void
|
protected function setUp(): void
|
||||||
{
|
{
|
||||||
//parent::setUp();
|
|
||||||
self::bootKernel();
|
self::bootKernel();
|
||||||
|
|
||||||
$this->filter = self::$container->get('chill.person.export.filter_activeonedaybetweendates');
|
$this->filter = self::$container->get('chill.person.export.filter_activeonedaybetweendates');
|
||||||
|
@ -26,7 +26,6 @@ final class AdministrativeLocationFilterTest extends AbstractFilterTest
|
|||||||
|
|
||||||
protected function setUp(): void
|
protected function setUp(): void
|
||||||
{
|
{
|
||||||
//parent::setUp();
|
|
||||||
self::bootKernel();
|
self::bootKernel();
|
||||||
|
|
||||||
$this->filter = self::$container->get('chill.person.export.filter_administrative_location');
|
$this->filter = self::$container->get('chill.person.export.filter_administrative_location');
|
||||||
|
@ -26,7 +26,6 @@ final class EvaluationFilterTest extends AbstractFilterTest
|
|||||||
|
|
||||||
protected function setUp(): void
|
protected function setUp(): void
|
||||||
{
|
{
|
||||||
//parent::setUp();
|
|
||||||
self::bootKernel();
|
self::bootKernel();
|
||||||
|
|
||||||
$this->filter = self::$container->get('chill.person.export.filter_evaluation');
|
$this->filter = self::$container->get('chill.person.export.filter_evaluation');
|
||||||
|
@ -26,7 +26,6 @@ final class GeographicalUnitStatFilterTest extends AbstractFilterTest
|
|||||||
|
|
||||||
protected function setUp(): void
|
protected function setUp(): void
|
||||||
{
|
{
|
||||||
//parent::setUp();
|
|
||||||
self::bootKernel();
|
self::bootKernel();
|
||||||
|
|
||||||
$this->filter = self::$container->get('chill.person.export.filter_geographicalunitstat');
|
$this->filter = self::$container->get('chill.person.export.filter_geographicalunitstat');
|
||||||
|
@ -26,7 +26,6 @@ final class OpenBetweenDatesFilterTest extends AbstractFilterTest
|
|||||||
|
|
||||||
protected function setUp(): void
|
protected function setUp(): void
|
||||||
{
|
{
|
||||||
//parent::setUp();
|
|
||||||
self::bootKernel();
|
self::bootKernel();
|
||||||
|
|
||||||
$this->filter = self::$container->get('chill.person.export.filter_openbetweendates');
|
$this->filter = self::$container->get('chill.person.export.filter_openbetweendates');
|
||||||
|
@ -26,7 +26,6 @@ final class SocialActionFilterTest extends AbstractFilterTest
|
|||||||
|
|
||||||
protected function setUp(): void
|
protected function setUp(): void
|
||||||
{
|
{
|
||||||
//parent::setUp();
|
|
||||||
self::bootKernel();
|
self::bootKernel();
|
||||||
|
|
||||||
$this->filter = self::$container->get('chill.person.export.filter_socialaction');
|
$this->filter = self::$container->get('chill.person.export.filter_socialaction');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user