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