From 47c66f4352555079110170a578241b11a1f47cd1 Mon Sep 17 00:00:00 2001 From: Tran Ngoc Nhan Date: Thu, 5 Dec 2024 21:09:44 +0700 Subject: [PATCH] Fix link to MockMvcBuilders in reference documentation See gh-34031 --- framework-docs/modules/ROOT/pages/testing/webtestclient.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework-docs/modules/ROOT/pages/testing/webtestclient.adoc b/framework-docs/modules/ROOT/pages/testing/webtestclient.adoc index 019d842bce..c0e1f55c63 100644 --- a/framework-docs/modules/ROOT/pages/testing/webtestclient.adoc +++ b/framework-docs/modules/ROOT/pages/testing/webtestclient.adoc @@ -127,7 +127,7 @@ Kotlin:: ====== For Spring MVC, use the following where the Spring `ApplicationContext` is passed to -{spring-framework-api}/test/web/servlet/setup/MockMvcBuilders.html#webAppContextSetup-org.springframework.web.context.WebApplicationContext-[MockMvcBuilders.webAppContextSetup] +{spring-framework-api}/test/web/servlet/setup/MockMvcBuilders.html#webAppContextSetup(org.springframework.web.context.WebApplicationContext)[MockMvcBuilders.webAppContextSetup] to create a xref:testing/mockmvc.adoc[MockMvc] instance to handle requests: