From 8d1d0eca28cddde08893b51e621a6eb5fb8a1919 Mon Sep 17 00:00:00 2001 From: Artem Bilan Date: Tue, 20 Aug 2019 10:06:18 -0400 Subject: [PATCH] Fix `WebFluxDslTests` for SF changes --- .../integration/webflux/dsl/WebFluxDslTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-integration-webflux/src/test/java/org/springframework/integration/webflux/dsl/WebFluxDslTests.java b/spring-integration-webflux/src/test/java/org/springframework/integration/webflux/dsl/WebFluxDslTests.java index 08f3a6b9a6..72ac27815d 100644 --- a/spring-integration-webflux/src/test/java/org/springframework/integration/webflux/dsl/WebFluxDslTests.java +++ b/spring-integration-webflux/src/test/java/org/springframework/integration/webflux/dsl/WebFluxDslTests.java @@ -313,7 +313,7 @@ public class WebFluxDslTests { this.webTestClient.post().uri("/validation") .headers(headers -> headers.setBasicAuth("guest", "guest")) .contentType(MediaType.APPLICATION_JSON) - .body("{\"name\": \"\"}") + .bodyValue("{\"name\": \"\"}") .exchange() .expectStatus().isBadRequest();