Fix MockMvc async requests example in documentation

See gh-24103
Closes gh-37318

Signed-off-by: Hyunwoo Jung <hyunwoojung@kakao.com>
This commit is contained in:
Hyunwoo Jung
2026-09-25 17:39:02 +02:00
committed by GitHub
parent a2e3c0d81d
commit fd23ae2393
@@ -52,8 +52,7 @@ Kotlin::
var mvcResult = mockMvc.get("/path").andExpect {
status { isOk() } // <1>
request { asyncStarted() } // <2>
// TODO Remove unused generic parameter
request { asyncResult<Nothing>("body") } // <3>
request { asyncResult("body") } // <3>
}.andReturn()