diff --git a/spring-webflux/src/test/java/org/springframework/web/reactive/function/client/WebClientIntegrationTests.java b/spring-webflux/src/test/java/org/springframework/web/reactive/function/client/WebClientIntegrationTests.java index 4a3e2164524..02937b505d2 100644 --- a/spring-webflux/src/test/java/org/springframework/web/reactive/function/client/WebClientIntegrationTests.java +++ b/spring-webflux/src/test/java/org/springframework/web/reactive/function/client/WebClientIntegrationTests.java @@ -1,5 +1,5 @@ /* - * Copyright 2002-2022 the original author or authors. + * Copyright 2002-2023 the original author or authors. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -1075,24 +1075,6 @@ class WebClientIntegrationTests { }); } - @ParameterizedWebClientTest // SPR-15782 - void exchangeWithRelativeUrl(ClientHttpConnector connector) { - startServer(connector); - - String uri = "/api/v4/groups/1"; - Mono> responseMono = WebClient.builder().build().get().uri(uri) - .retrieve().toBodilessEntity(); - - StepVerifier.create(responseMono) - .expectErrorSatisfies(throwable -> { - assertThat(throwable).isInstanceOf(WebClientRequestException.class); - WebClientRequestException ex = (WebClientRequestException) throwable; - assertThat(ex.getMethod()).isEqualTo(HttpMethod.GET); - assertThat(ex.getUri()).isEqualTo(URI.create(uri)); - }) - .verify(Duration.ofSeconds(5)); - } - @ParameterizedWebClientTest void filter(ClientHttpConnector connector) { startServer(connector);