Skip to content

Commit a843087

Browse files
committed
Merge branch '6.1.x'
2 parents 3897ea7 + f17527a commit a843087

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

framework-docs/modules/ROOT/pages/testing/webtestclient.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -672,7 +672,7 @@ Kotlin::
672672
val result = client.get().uri("/persons/1")
673673
.exchange()
674674
.expectStatus().isOk()
675-
.expectBody(Person::class.java)
675+
.expectBody<Person>()
676676
.returnResult()
677677
678678
// For a response without a body

0 commit comments

Comments
 (0)