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 9da90e1011..1322777cac 100644 --- a/src/test/java/org/opensearch/security/authtoken/jwt/JwtVendorTest.java +++ b/src/test/java/org/opensearch/security/authtoken/jwt/JwtVendorTest.java @@ -47,7 +47,7 @@ public void testCreateJwkFromSettingsWithoutSigningKey() { } }); Assert.assertEquals( - "java.lang.Exception: Settings for key is missing. Please specify at least the option signing_key with a shared secret.", + "java.lang.Exception: Settings for signing key is missing. Please specify at least the option signing_key with a shared secret.", exception.getMessage() ); }