Explorar o código

Remove TheController from Bean

It is already picked up with classpath scanning

Issue gh-4080
Rob Winch %!s(int64=9) %!d(string=hai) anos
pai
achega
8a7ac398e6

+ 0 - 5
test/src/test/java/org/springframework/security/test/web/servlet/request/SecurityMockMvcRequestPostProcessorsCsrfTests.java

@@ -228,11 +228,6 @@ public class SecurityMockMvcRequestPostProcessorsCsrfTests {
 		protected void configure(HttpSecurity http) throws Exception {
 		}
 
-		@Bean
-		public TheController controller() {
-			return new TheController();
-		}
-
 		@RestController
 		static class TheController {
 			@RequestMapping("/")