Selaa lähdekoodia

Polish OAuth2ResourceServerConfigurerTests

Johnny Lim 7 vuotta sitten
vanhempi
commit
42327a0aec

+ 1 - 5
config/src/test/java/org/springframework/security/config/annotation/web/configurers/oauth2/server/resource/OAuth2ResourceServerConfigurerTests.java

@@ -1300,11 +1300,7 @@ public class OAuth2ResourceServerConfigurerTests {
 					.and()
 				.oauth2ResourceServer()
 					.jwt();
-		}
-
-		@Bean
-		JwtDecoder jwtDecoder() {
-			return mock(JwtDecoder.class);
+			// @formatter:on
 		}
 	}