From f7e5c9fbb27cad276800909fc5d395234c76d64a Mon Sep 17 00:00:00 2001 From: "anil.senocak" Date: Wed, 7 Feb 2024 23:09:24 +0300 Subject: [PATCH] In Kotlin variables should be defined as val or var. "mockMvc" was not defined properly --- .../testing/spring-mvc-test-framework/server-setup-options.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework-docs/modules/ROOT/pages/testing/spring-mvc-test-framework/server-setup-options.adoc b/framework-docs/modules/ROOT/pages/testing/spring-mvc-test-framework/server-setup-options.adoc index b38d69ed683e..9dd0498d4e94 100644 --- a/framework-docs/modules/ROOT/pages/testing/spring-mvc-test-framework/server-setup-options.adoc +++ b/framework-docs/modules/ROOT/pages/testing/spring-mvc-test-framework/server-setup-options.adoc @@ -152,7 +152,7 @@ Kotlin:: @Autowired lateinit var accountService: AccountService - lateinit mockMvc: MockMvc + lateinit var mockMvc: MockMvc @BeforeEach fun setup(wac: WebApplicationContext) {