diff --git a/tests/Integration/ApiPlatform/GetHookStatusTest.php b/tests/Integration/ApiPlatform/GetHookStatusTest.php index 2754915..3588248 100644 --- a/tests/Integration/ApiPlatform/GetHookStatusTest.php +++ b/tests/Integration/ApiPlatform/GetHookStatusTest.php @@ -30,6 +30,7 @@ public static function setUpBeforeClass(): void { parent::setUpBeforeClass(); DatabaseDump::restoreTables(['hook']); + self::createApiClient(['hook_write', 'hook_read']); } public static function tearDownAfterClass(): void diff --git a/tests/Integration/ApiPlatform/GetHookTest.php b/tests/Integration/ApiPlatform/GetHookTest.php index a626489..5d3bde8 100644 --- a/tests/Integration/ApiPlatform/GetHookTest.php +++ b/tests/Integration/ApiPlatform/GetHookTest.php @@ -31,6 +31,7 @@ public static function setUpBeforeClass(): void { parent::setUpBeforeClass(); DatabaseDump::restoreTables(['hook']); + self::createApiClient(['hook_write', 'hook_read']); } public static function tearDownAfterClass(): void