Remove TheController from Bean
It is already picked up with classpath scanning Issue gh-4080
This commit is contained in:
parent
5e35e37a2b
commit
8a7ac398e6
|
@ -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("/")
|
||||
|
|
Loading…
Reference in New Issue