diff --git a/src/test/java/org/opensearch/security/authtoken/jwt/JwtVendorTest.java b/src/test/java/org/opensearch/security/authtoken/jwt/JwtVendorTest.java index d38f517457..663c4fd1e2 100644 --- a/src/test/java/org/opensearch/security/authtoken/jwt/JwtVendorTest.java +++ b/src/test/java/org/opensearch/security/authtoken/jwt/JwtVendorTest.java @@ -165,8 +165,8 @@ public void testCreateJwtWithExceededExpiry() throws Exception { } }); Assert.assertEquals( - "java.lang.Exception: The provided expiration time exceeds the maximum allowed duration of 600 seconds", - exception.getMessage() + "java.lang.Exception: The provided expiration time exceeds the maximum allowed duration of 600 seconds", + exception.getMessage() ); }