Skip to content

Commit

Permalink
Refactored authenticator in integration tests to implement an interface
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbyoung committed Jun 23, 2023
1 parent ad701f8 commit 81738b9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/Integration/Demo/Users/UserTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,14 @@
use App\Demo\Database\GlobalDatabaseSeeder;
use App\Demo\Users\NewUser;
use App\Demo\Users\User;
use App\Tests\Integration\Demo\Auth\IMockedAuthenticator;
use App\Tests\Integration\Demo\Auth\MockAuthenticator;
use App\Tests\Integration\IntegrationTestCase;
use Exception;

class UserTest extends IntegrationTestCase
{
private MockAuthenticator $authenticator;
private IMockedAuthenticator $authenticator;
/** @var list<User> The list of users to delete at the end of each test */
private array $createdUsers = [];

Expand Down

0 comments on commit 81738b9

Please sign in to comment.