Remove notes about WebTestClient type inference issue in Kotlin

Since gh-28144 was resolved in Spring Framework 6.0, these notes are no
longer relevant.
This commit is contained in:
Sam Brannen 2023-11-21 10:23:10 +01:00
parent 3290260ef0
commit 617ba84577
2 changed files with 0 additions and 15 deletions

View File

@ -383,15 +383,3 @@ class SpecificationLikeTests {
----
[[kotlin-webtestclient-issue]]
=== `WebTestClient` Type Inference Issue in Kotlin
Due to a https://youtrack.jetbrains.com/issue/KT-5464[type inference issue], you must
use the Kotlin `expectBody` extension (such as `.expectBody<String>().isEqualTo("toys")`),
since it provides a workaround for the Kotlin issue with the Java API.
See also the related https://jira.spring.io/browse/SPR-16057[SPR-16057] issue.

View File

@ -7,9 +7,6 @@ but exposes a testing facade for verifying responses. `WebTestClient` can be use
perform end-to-end HTTP tests. It can also be used to test Spring MVC and Spring WebFlux
applications without a running server via mock server request and response objects.
TIP: Kotlin users: See xref:languages/kotlin/spring-projects-in.adoc#kotlin-webtestclient-issue[this section]
related to use of the `WebTestClient`.