diff --git a/gateway/service/src/test/java/org/eclipse/ditto/gateway/service/security/authentication/jwt/JwtTestConstants.java b/gateway/service/src/test/java/org/eclipse/ditto/gateway/service/security/authentication/jwt/JwtTestConstants.java index ff62d93f92..cc327b7d54 100644 --- a/gateway/service/src/test/java/org/eclipse/ditto/gateway/service/security/authentication/jwt/JwtTestConstants.java +++ b/gateway/service/src/test/java/org/eclipse/ditto/gateway/service/security/authentication/jwt/JwtTestConstants.java @@ -59,7 +59,8 @@ final class JwtTestConstants { UNSIGNED_JWT_TOKEN = createUnsignedJwt(); EXPIRED_JWT_TOKEN = createExpiredJwt(); VALID_NBF_AHEAD_OF_TIME_JWT_TOKEN = createNotBeforeAheadOfTimeJwt(Date.from(Instant.now().plusSeconds(10))); - INVALID_NBF_AHEAD_OF_TIME_JWT_TOKEN = createNotBeforeAheadOfTimeJwt(Date.from(Instant.now().plusSeconds(15))); + INVALID_NBF_AHEAD_OF_TIME_JWT_TOKEN = + createNotBeforeAheadOfTimeJwt(Date.from(Instant.now().plusSeconds(30))); } catch (final Exception e) { throw new IllegalStateException(e); }