From 42327a0aeccb1150dfe06b51541bcb4f9fc7e4ee Mon Sep 17 00:00:00 2001 From: Johnny Lim Date: Sat, 8 Sep 2018 12:07:57 +0900 Subject: [PATCH] Polish OAuth2ResourceServerConfigurerTests --- .../resource/OAuth2ResourceServerConfigurerTests.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/config/src/test/java/org/springframework/security/config/annotation/web/configurers/oauth2/server/resource/OAuth2ResourceServerConfigurerTests.java b/config/src/test/java/org/springframework/security/config/annotation/web/configurers/oauth2/server/resource/OAuth2ResourceServerConfigurerTests.java index 2863a31241..72e1e64d0c 100644 --- a/config/src/test/java/org/springframework/security/config/annotation/web/configurers/oauth2/server/resource/OAuth2ResourceServerConfigurerTests.java +++ b/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 } }