Skip to content

Commit 617ba84

Browse files
committed
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.
1 parent 3290260 commit 617ba84

File tree

2 files changed

+0
-15
lines changed

2 files changed

+0
-15
lines changed

framework-docs/modules/ROOT/pages/languages/kotlin/spring-projects-in.adoc

-12
Original file line numberDiff line numberDiff line change
@@ -383,15 +383,3 @@ class SpecificationLikeTests {
383383
----
384384

385385

386-
[[kotlin-webtestclient-issue]]
387-
=== `WebTestClient` Type Inference Issue in Kotlin
388-
389-
Due to a https://youtrack.jetbrains.com/issue/KT-5464[type inference issue], you must
390-
use the Kotlin `expectBody` extension (such as `.expectBody<String>().isEqualTo("toys")`),
391-
since it provides a workaround for the Kotlin issue with the Java API.
392-
393-
See also the related https://jira.spring.io/browse/SPR-16057[SPR-16057] issue.
394-
395-
396-
397-

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

-3
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@ but exposes a testing facade for verifying responses. `WebTestClient` can be use
77
perform end-to-end HTTP tests. It can also be used to test Spring MVC and Spring WebFlux
88
applications without a running server via mock server request and response objects.
99

10-
TIP: Kotlin users: See xref:languages/kotlin/spring-projects-in.adoc#kotlin-webtestclient-issue[this section]
11-
related to use of the `WebTestClient`.
12-
1310

1411

1512

0 commit comments

Comments
 (0)