Fix MockMvc sample setup
See gh-29201
This commit is contained in:
committed by
Stephane Nicoll
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();
|
||||
}
|
||||
|
||||
// ...
|
||||
|
||||
Reference in New Issue
Block a user