mirror of
				https://gitlab.com/Chill-Projet/chill-bundles.git
				synced 2025-10-31 09:18:24 +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'); | ||||
|     } | ||||
|   | ||||
| @@ -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'); | ||||
|   | ||||
| @@ -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'); | ||||
|   | ||||
| @@ -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'); | ||||
|   | ||||
| @@ -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'); | ||||
|   | ||||
| @@ -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'); | ||||
|   | ||||
| @@ -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'); | ||||
|   | ||||
| @@ -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'); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user