JAVA-24552: fix test failure of jwt module

This commit is contained in:
Bipinkumar27
2023-08-28 20:38:21 +05:30
parent f35a6731fe
commit 6420a38e4c

View File

@@ -103,7 +103,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, () -> {