Skip to content

Commit 8d1d0ec

Browse files
committed
Fix WebFluxDslTests for SF changes
1 parent b7e928b commit 8d1d0ec

File tree

1 file changed

+1
-1
lines changed
  • spring-integration-webflux/src/test/java/org/springframework/integration/webflux/dsl

1 file changed

+1
-1
lines changed

spring-integration-webflux/src/test/java/org/springframework/integration/webflux/dsl/WebFluxDslTests.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ public void testValidation() {
313313
this.webTestClient.post().uri("/validation")
314314
.headers(headers -> headers.setBasicAuth("guest", "guest"))
315315
.contentType(MediaType.APPLICATION_JSON)
316-
.body("{\"name\": \"\"}")
316+
.bodyValue("{\"name\": \"\"}")
317317
.exchange()
318318
.expectStatus().isBadRequest();
319319

0 commit comments

Comments
 (0)