Skip to content

Commit 8de5f73

Browse files
authored
Merge pull request #969 from kenjis/fix-JWTManagerTest
test: update assertion in JWTManagerTest
2 parents cecec67 + 7b69071 commit 8de5f73

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Unit/Authentication/JWT/JWTManagerTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,9 +182,9 @@ public function testIssueAddHeader(): void
182182
$this->assertIsString($token);
183183

184184
$headers = $this->decodeJWT($token, 'header');
185-
$this->assertSame([
186-
'extra_key' => 'extra_value',
185+
$this->assertEqualsCanonicalizing([
187186
'typ' => 'JWT',
187+
'extra_key' => 'extra_value',
188188
'alg' => 'HS256',
189189
], $headers);
190190
}

0 commit comments

Comments
 (0)