Skip to content

Commit 1509430

Browse files
authored
Fix RequestValidatorTest (token received before issued) (#223)
1 parent b3f1924 commit 1509430

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/Unit/RequestValidatorTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ public function testExpiredRequest()
109109

110110
const ERROR_MAP = [
111111
"invalid jwt: signing method none is invalid" => "Algorithm not supported",
112-
"invalid jwt: claim nbf is in the future" => "Cannot handle token prior to",
112+
"invalid jwt: claim nbf is in the future" => "Cannot handle token with nbf prior to",
113113
"invalid jwt: claim exp is in the past" => "Expired token",
114114
"invalid jwt: signature is invalid" => "Signature verification failed"
115115
];

0 commit comments

Comments
 (0)