Fix MockMvc sample setup

See gh-29201
This commit is contained in:
inaba jun 2022-09-26 01:09:18 +09:00 committed by Stephane Nicoll
parent 1d0dc43e5f
commit ddef70935a
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();
}
// ...