Skip to content

Commit ddef709

Browse files
inabajunmrsnicoll
authored andcommitted
Fix MockMvc sample setup
See gh-29201
1 parent 1d0dc43 commit ddef709

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/docs/asciidoc/testing.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7052,7 +7052,7 @@ To set up MockMvc through Spring configuration, use the following:
70527052
70537053
@BeforeEach
70547054
void setup(WebApplicationContext wac) {
7055-
this.mockMvc = MockMvcBuilders.webAppContextSetup(this.wac).build();
7055+
this.mockMvc = MockMvcBuilders.webAppContextSetup(wac).build();
70567056
}
70577057
70587058
// ...

0 commit comments

Comments
 (0)