diff --git a/spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/metrics/web/client/RestTemplateExchangeTagsTests.java b/spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/metrics/web/client/RestTemplateExchangeTagsTests.java index 167881ec101..ebaa05c2a5a 100644 --- a/spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/metrics/web/client/RestTemplateExchangeTagsTests.java +++ b/spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/metrics/web/client/RestTemplateExchangeTagsTests.java @@ -95,7 +95,7 @@ class RestTemplateExchangeTagsTests { } @Test - void outcomeTagIsClientErrorWhenResponseIsNonStandardInKnownSeries() throws IOException { + void outcomeTagIsClientErrorWhenResponseIsNonStandardInClientSeries() throws IOException { ClientHttpResponse response = mock(ClientHttpResponse.class); given(response.getRawStatusCode()).willReturn(490); Tag tag = RestTemplateExchangeTags.outcome(response); diff --git a/spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/metrics/web/reactive/client/WebClientExchangeTagsTests.java b/spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/metrics/web/reactive/client/WebClientExchangeTagsTests.java index f5e83a74530..94fa8dc8c7e 100644 --- a/spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/metrics/web/reactive/client/WebClientExchangeTagsTests.java +++ b/spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/metrics/web/reactive/client/WebClientExchangeTagsTests.java @@ -148,7 +148,7 @@ class WebClientExchangeTagsTests { } @Test - void outcomeTagIsClientErrorWhenResponseIsNonStandardInKnownSeries() { + void outcomeTagIsClientErrorWhenResponseIsNonStandardInClientSeries() { given(this.response.rawStatusCode()).willReturn(490); Tag tag = WebClientExchangeTags.outcome(this.response); assertThat(tag.getValue()).isEqualTo("CLIENT_ERROR");