diff --git a/pom.xml b/pom.xml index b6092d42..892b616f 100644 --- a/pom.xml +++ b/pom.xml @@ -83,10 +83,10 @@ 1.18.38 2024.0.5 2.0.17 - 6.2.6 + 7.0.0-M1 3.0.0 - 1.9.25 - 1.9.0 + 2.1.0 + 1.10.1 1.14.0 diff --git a/src/test/java/org/springframework/hateoas/config/CustomHypermediaWebFluxTest.java b/src/test/java/org/springframework/hateoas/config/CustomHypermediaWebFluxTest.java index 7d04f28f..4780bc35 100644 --- a/src/test/java/org/springframework/hateoas/config/CustomHypermediaWebFluxTest.java +++ b/src/test/java/org/springframework/hateoas/config/CustomHypermediaWebFluxTest.java @@ -37,9 +37,11 @@ import org.springframework.test.web.reactive.server.WebTestClient; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RestController; import org.springframework.web.reactive.config.EnableWebFlux; +import org.springframework.web.reactive.function.client.ExchangeStrategies; /** * @author Greg Turnquist + * @author Christoph Strobl */ class CustomHypermediaWebFluxTest { @@ -56,8 +58,7 @@ class CustomHypermediaWebFluxTest { this.testClient = WebTestClient.bindToApplicationContext(ctx).build() // .mutate() // - .exchangeStrategies( - it -> it.codecs(inner -> inner.defaultCodecs().configureDefaultCodec(webClientConfigurer.customizer))) // + .exchangeStrategies(ExchangeStrategies.builder().codecs(it -> it.defaultCodecs().configureDefaultCodec(webClientConfigurer.customizer)).build()) .build(); }