Skip to content

Commit

Permalink
Merge pull request #969 from kenjis/fix-JWTManagerTest
Browse files Browse the repository at this point in the history
test: update assertion in JWTManagerTest
  • Loading branch information
datamweb authored Dec 3, 2023
2 parents cecec67 + 7b69071 commit 8de5f73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Unit/Authentication/JWT/JWTManagerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -182,9 +182,9 @@ public function testIssueAddHeader(): void
$this->assertIsString($token);

$headers = $this->decodeJWT($token, 'header');
$this->assertSame([
'extra_key' => 'extra_value',
$this->assertEqualsCanonicalizing([
'typ' => 'JWT',
'extra_key' => 'extra_value',
'alg' => 'HS256',
], $headers);
}
Expand Down

0 comments on commit 8de5f73

Please sign in to comment.