Skip to content

Commit 2d93da1

Browse files
committed
test: replace hard coded table names
1 parent b63c27f commit 2d93da1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/Authentication/Authenticators/AccessTokenAuthenticatorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ public function testAttemptCannotFindUser(): void
173173
$this->assertSame(lang('Auth.badToken'), $result->reason());
174174

175175
// A login attempt should have always been recorded
176-
$this->seeInDatabase('auth_token_logins', [
176+
$this->seeInDatabase($this->tables['token_logins'], [
177177
'id_type' => AccessTokens::ID_TYPE_ACCESS_TOKEN,
178178
'identifier' => 'abc123',
179179
'success' => 0,

tests/Authentication/Authenticators/SessionAuthenticatorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ public function testAttemptCustomField(): void
471471

472472
$this->assertTrue($result->isOK());
473473

474-
$this->seeInDatabase('auth_logins', [
474+
$this->seeInDatabase($this->tables['logins'], [
475475
'id_type' => 'status',
476476
'identifier' => '12345',
477477
'success' => 1,

0 commit comments

Comments
 (0)