Merge pull request #14669 from Bipinkumar27/JAVA_24552

JAVA-24552: fix test failure of jwt module
This commit is contained in:
Kasra Madadipouya 2023-08-28 21:01:56 +02:00 committed by GitHub
commit add56cced9
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ public class Auth0JsonWebTokenUnitTest {
jwtToken = JWT.create()
.withIssuer(ISSUER)
.withClaim(DATA_CLAIM, DATA)
.withNotBefore(new Date(System.currentTimeMillis() + 1000L))
.withNotBefore(new Date(System.currentTimeMillis() + 10000L))
.sign(algorithm);
assertThrows(IncorrectClaimException.class, () -> {