Merge pull request #29201 from inabajunmr
* pr/29201: Fix MockMvc sample setup Closes gh-29201
This commit is contained in:
@@ -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