diff --git a/tests/JWTTest.php b/tests/JWTTest.php index 9c15f28..e4a6b7f 100644 --- a/tests/JWTTest.php +++ b/tests/JWTTest.php @@ -116,6 +116,7 @@ public function test_kid() $token = $jwt->encode($payload = ['a' => 1, 'exp' => time() + 1000], ['kid' => 'key2']); $this->assertSame($payload, $jwt->decode($token)); + $this->assertSame($payload, $jwt->decode($token, false)); return $jwt; }