mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-26 08:59:09 +00:00
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:
@@ -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()
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user