Skip to content

Commit 22253bd

Browse files
committed
fix(test): deprecation on kernel will not always be booted
Continues the work at #7079 and before at #6865 See #6971.
1 parent 434be51 commit 22253bd

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

tests/Functional/Parameters/ExactFilterTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ public static function getResources(): array
4646
*/
4747
protected function setUp(): void
4848
{
49+
self::$alwaysBootKernel = false;
50+
4951
$entities = $this->isMongoDB()
5052
? [DocumentChicken::class, DocumentChickenCoop::class]
5153
: [Chicken::class, ChickenCoop::class];

tests/Functional/Parameters/IriFilterTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,8 @@ public function testIriFilterMultiple(): void
5757
*/
5858
protected function setUp(): void
5959
{
60+
self::$alwaysBootKernel = false;
61+
6062
$this->recreateSchema([$this->isMongoDB() ? DocumentChicken::class : Chicken::class, $this->isMongoDB() ? DocumentChickenCoop::class : ChickenCoop::class]);
6163
$this->loadFixtures();
6264
}

tests/Functional/Parameters/PartialSearchFilterTest.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ public static function getResources(): array
4646
*/
4747
protected function setUp(): void
4848
{
49+
self::$alwaysBootKernel = false;
50+
4951
$entities = $this->isMongoDB()
5052
? [DocumentChicken::class, DocumentChickenCoop::class]
5153
: [Chicken::class, ChickenCoop::class];

0 commit comments

Comments
 (0)