We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents cecec67 + 7b69071 commit 8de5f73Copy full SHA for 8de5f73
1 file changed
tests/Unit/Authentication/JWT/JWTManagerTest.php
@@ -182,9 +182,9 @@ public function testIssueAddHeader(): void
182
$this->assertIsString($token);
183
184
$headers = $this->decodeJWT($token, 'header');
185
- $this->assertSame([
186
- 'extra_key' => 'extra_value',
+ $this->assertEqualsCanonicalizing([
187
'typ' => 'JWT',
+ 'extra_key' => 'extra_value',
188
'alg' => 'HS256',
189
], $headers);
190
}
0 commit comments