Skip to content

Commit

Permalink
Merge pull request #29201 from inabajunmr
Browse files Browse the repository at this point in the history
* pr/29201:
  Fix MockMvc sample setup

Closes gh-29201
  • Loading branch information
snicoll committed Sep 26, 2022
2 parents 1d0dc43 + ddef709 commit 98ecf0a
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 98ecf0a

Please sign in to comment.