Skip to content

Commit

Permalink
Fix RequestValidatorTest (token received before issued) (#223)
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikBooijMB authored Nov 1, 2024
1 parent b3f1924 commit 1509430
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Unit/RequestValidatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ public function testExpiredRequest()

const ERROR_MAP = [
"invalid jwt: signing method none is invalid" => "Algorithm not supported",
"invalid jwt: claim nbf is in the future" => "Cannot handle token prior to",
"invalid jwt: claim nbf is in the future" => "Cannot handle token with nbf prior to",
"invalid jwt: claim exp is in the past" => "Expired token",
"invalid jwt: signature is invalid" => "Signature verification failed"
];
Expand Down

0 comments on commit 1509430

Please sign in to comment.