From e67835b7c139ab39baa9310aeeab374de2fffe1e Mon Sep 17 00:00:00 2001 From: Erik Booij Date: Fri, 1 Nov 2024 09:32:44 +0100 Subject: [PATCH] Fix RequestValidatorTest (token received before issued) --- tests/Unit/RequestValidatorTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Unit/RequestValidatorTest.php b/tests/Unit/RequestValidatorTest.php index a0b419f5..31f38774 100644 --- a/tests/Unit/RequestValidatorTest.php +++ b/tests/Unit/RequestValidatorTest.php @@ -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" ];