Skip to content

Commit

Permalink
Create API client in setup in Hook tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jolelievre committed Nov 25, 2024
1 parent a40ecfc commit 1ad331f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/Integration/ApiPlatform/GetHookStatusTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions tests/Integration/ApiPlatform/GetHookTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1ad331f

Please sign in to comment.