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

This commit is contained in:
Julien Fastré 2023-07-30 22:21:57 +02:00
parent 984c35f8bc
commit 4b989fe25c
Signed by: julienfastre
GPG Key ID: BDE2190974723FCB
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');
}

View File

@ -26,7 +26,6 @@ final class ActiveOnDateFilterTest extends AbstractFilterTest
protected function setUp(): void
{
//parent::setUp();
self::bootKernel();
$this->filter = self::$container->get('chill.person.export.filter_activeondate');

View File

@ -26,7 +26,6 @@ final class ActiveOneDayBetweenDatesFilterTest extends AbstractFilterTest
protected function setUp(): void
{
//parent::setUp();
self::bootKernel();
$this->filter = self::$container->get('chill.person.export.filter_activeonedaybetweendates');

View File

@ -26,7 +26,6 @@ final class AdministrativeLocationFilterTest extends AbstractFilterTest
protected function setUp(): void
{
//parent::setUp();
self::bootKernel();
$this->filter = self::$container->get('chill.person.export.filter_administrative_location');

View File

@ -26,7 +26,6 @@ final class EvaluationFilterTest extends AbstractFilterTest
protected function setUp(): void
{
//parent::setUp();
self::bootKernel();
$this->filter = self::$container->get('chill.person.export.filter_evaluation');

View File

@ -26,7 +26,6 @@ final class GeographicalUnitStatFilterTest extends AbstractFilterTest
protected function setUp(): void
{
//parent::setUp();
self::bootKernel();
$this->filter = self::$container->get('chill.person.export.filter_geographicalunitstat');

View File

@ -26,7 +26,6 @@ final class OpenBetweenDatesFilterTest extends AbstractFilterTest
protected function setUp(): void
{
//parent::setUp();
self::bootKernel();
$this->filter = self::$container->get('chill.person.export.filter_openbetweendates');

View File

@ -26,7 +26,6 @@ final class SocialActionFilterTest extends AbstractFilterTest
protected function setUp(): void
{
//parent::setUp();
self::bootKernel();
$this->filter = self::$container->get('chill.person.export.filter_socialaction');