From fcbb5c1197ae8264e3a263e8193b57331d065b45 Mon Sep 17 00:00:00 2001 From: Joe Grandja Date: Wed, 16 Nov 2022 04:27:45 -0500 Subject: [PATCH] Polish OAuth2AuthorizationCodeGrantTests --- .../web/configurers/OAuth2AuthorizationCodeGrantTests.java | 5 ----- 1 file changed, 5 deletions(-) diff --git a/oauth2-authorization-server/src/test/java/org/springframework/security/oauth2/server/authorization/config/annotation/web/configurers/OAuth2AuthorizationCodeGrantTests.java b/oauth2-authorization-server/src/test/java/org/springframework/security/oauth2/server/authorization/config/annotation/web/configurers/OAuth2AuthorizationCodeGrantTests.java index 5648db69..ab57c54b 100644 --- a/oauth2-authorization-server/src/test/java/org/springframework/security/oauth2/server/authorization/config/annotation/web/configurers/OAuth2AuthorizationCodeGrantTests.java +++ b/oauth2-authorization-server/src/test/java/org/springframework/security/oauth2/server/authorization/config/annotation/web/configurers/OAuth2AuthorizationCodeGrantTests.java @@ -940,11 +940,6 @@ public class OAuth2AuthorizationCodeGrantTests { @EnableWebSecurity static class AuthorizationServerConfigurationCustomConsentRequest extends AuthorizationServerConfiguration { - @Autowired - private RegisteredClientRepository registeredClientRepository; - - @Autowired - private OAuth2AuthorizationService authorizationService; @Autowired private OAuth2AuthorizationConsentService authorizationConsentService;