Merge pull request #29201 from inabajunmr

* pr/29201:
  Fix MockMvc sample setup

Closes gh-29201
This commit is contained in:
Stephane Nicoll 2022-09-26 08:50:49 +02:00
commit 98ecf0a412
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}
// ...