Forráskód Böngészése

Remove TheController from Bean

It is already picked up with classpath scanning

Issue gh-4080
Rob Winch 9 éve
szülő
commit
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("/")