diff --git a/spring-cloud-gateway-webflux/src/test/java/org/springframework/cloud/gateway/webflux/ProductionConfigurationTests.java b/spring-cloud-gateway-webflux/src/test/java/org/springframework/cloud/gateway/webflux/ProductionConfigurationTests.java index b9cfe0e56..dd0e568d0 100644 --- a/spring-cloud-gateway-webflux/src/test/java/org/springframework/cloud/gateway/webflux/ProductionConfigurationTests.java +++ b/spring-cloud-gateway-webflux/src/test/java/org/springframework/cloud/gateway/webflux/ProductionConfigurationTests.java @@ -350,7 +350,7 @@ public class ProductionConfigurationTests { ProxyExchange> proxy) throws Exception { body.put("id", id); return proxy.uri(home.toString() + "/bars").body(Arrays.asList(body)) - .post(this::first); + .forward(this::first); } }