Skip to content

Commit

Permalink
Fix MockMvc sample setup
Browse files Browse the repository at this point in the history
  • Loading branch information
inabajunmr authored and snicoll committed Sep 26, 2022
1 parent 1d0dc43 commit ddef709
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/docs/asciidoc/testing.adoc
Expand Up @@ -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();
}
// ...
Expand Down

0 comments on commit ddef709

Please sign in to comment.