Skip to content

Commit 7adda6c

Browse files
committed
tests: update show error if set to authenticatorHeader.
1 parent 1c10070 commit 7adda6c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Authentication/Authenticators/AccessTokenAuthenticatorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ public function testCheckNoToken(): void
110110
$result = $this->auth->check([]);
111111

112112
$this->assertFalse($result->isOK());
113-
$this->assertSame(lang('Auth.noToken'), $result->reason());
113+
$this->assertSame(lang('Auth.noToken', [config('Auth')->authenticatorHeader['tokens']]), $result->reason());
114114
}
115115

116116
public function testCheckBadToken(): void

0 commit comments

Comments
 (0)