Skip to content

Commit f7e5c9f

Browse files
anil.senocakjhoeller
authored andcommitted
In Kotlin variables should be defined as val or var. "mockMvc" was not defined properly
1 parent 4486ab1 commit f7e5c9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

framework-docs/modules/ROOT/pages/testing/spring-mvc-test-framework/server-setup-options.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ Kotlin::
152152
@Autowired
153153
lateinit var accountService: AccountService
154154
155-
lateinit mockMvc: MockMvc
155+
lateinit var mockMvc: MockMvc
156156
157157
@BeforeEach
158158
fun setup(wac: WebApplicationContext) {

0 commit comments

Comments
 (0)