JAVA-24552: fix test failure of jwt module
This commit is contained in:
parent
d7c57a2e2b
commit
8462a30691
|
@ -103,7 +103,7 @@ public class Auth0JsonWebTokenUnitTest {
|
||||||
jwtToken = JWT.create()
|
jwtToken = JWT.create()
|
||||||
.withIssuer(ISSUER)
|
.withIssuer(ISSUER)
|
||||||
.withClaim(DATA_CLAIM, DATA)
|
.withClaim(DATA_CLAIM, DATA)
|
||||||
.withNotBefore(new Date(System.currentTimeMillis() + 1000L))
|
.withNotBefore(new Date(System.currentTimeMillis() + 10000L))
|
||||||
.sign(algorithm);
|
.sign(algorithm);
|
||||||
|
|
||||||
assertThrows(IncorrectClaimException.class, () -> {
|
assertThrows(IncorrectClaimException.class, () -> {
|
||||||
|
|
Loading…
Reference in New Issue