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:
parent
3290260ef0
commit
617ba84577
|
|
@ -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.
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -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`.
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue