diff --git a/oauth2/oauth2-jose/src/test/java/org/springframework/security/oauth2/jwt/NimbusJwtDecoderTests.java b/oauth2/oauth2-jose/src/test/java/org/springframework/security/oauth2/jwt/NimbusJwtDecoderTests.java index da80e3e40d..b7674a7845 100644 --- a/oauth2/oauth2-jose/src/test/java/org/springframework/security/oauth2/jwt/NimbusJwtDecoderTests.java +++ b/oauth2/oauth2-jose/src/test/java/org/springframework/security/oauth2/jwt/NimbusJwtDecoderTests.java @@ -509,7 +509,7 @@ public class NimbusJwtDecoderTests { // gh-7056 @Test - public void decodeWhenUsingSecertKeyWithKidThenStillUsesKey() throws Exception { + public void decodeWhenUsingSecretKeyWithKidThenStillUsesKey() throws Exception { SecretKey secretKey = TestKeys.DEFAULT_SECRET_KEY; // @formatter:off JWSHeader header = new JWSHeader.Builder(JWSAlgorithm.HS256)