parent
1d0dc43e5f
commit
ddef70935a
|
@ -7052,7 +7052,7 @@ To set up MockMvc through Spring configuration, use the following:
|
|||
|
||||
@BeforeEach
|
||||
void setup(WebApplicationContext wac) {
|
||||
this.mockMvc = MockMvcBuilders.webAppContextSetup(this.wac).build();
|
||||
this.mockMvc = MockMvcBuilders.webAppContextSetup(wac).build();
|
||||
}
|
||||
|
||||
// ...
|
||||
|
|
Loading…
Reference in New Issue