|
@@ -46,14 +46,10 @@ public class SecurityConfigTests {
|
|
@Autowired
|
|
@Autowired
|
|
private WebApplicationContext context;
|
|
private WebApplicationContext context;
|
|
|
|
|
|
- @Autowired
|
|
|
|
- private Filter springSecurityFilterChain;
|
|
|
|
-
|
|
|
|
@Before
|
|
@Before
|
|
public void setup() {
|
|
public void setup() {
|
|
mvc = MockMvcBuilders
|
|
mvc = MockMvcBuilders
|
|
.webAppContextSetup(context)
|
|
.webAppContextSetup(context)
|
|
- .addFilters(springSecurityFilterChain)
|
|
|
|
.build();
|
|
.build();
|
|
}
|
|
}
|
|
|
|
|