Sfoglia il codice sorgente

Polish OAuth2AuthorizationCodeGrantTests

Joe Grandja 2 anni fa
parent
commit
fcbb5c1197

+ 0 - 5
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;