Skip to content

Commit 32222b0

Browse files
committed
Make sure that kernel is booted in ApiKeyTest
1 parent 7d6db8b commit 32222b0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/Integration/Entity/ApiKeyTest.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,13 @@ class ApiKeyTest extends EntityTestCase
3131
*/
3232
protected string $entityName = ApiKey::class;
3333

34+
protected function setUp(): void
35+
{
36+
parent::setUp();
37+
38+
self::bootKernel();
39+
}
40+
3441
/**
3542
* @dataProvider dataProviderTestThatApiKeyHasExpectedRoles
3643
*

0 commit comments

Comments
 (0)