Browse Source

Fix MockMvc sample setup

See gh-29201
pull/30296/head
inaba jun 3 years ago committed by Stephane Nicoll
parent
commit
ddef70935a
  1. 2
      src/docs/asciidoc/testing.adoc

2
src/docs/asciidoc/testing.adoc

@ -7052,7 +7052,7 @@ To set up MockMvc through Spring configuration, use the following: @@ -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…
Cancel
Save