Browse Source

Merge pull request #19976 from izeye

* pr/19976:
  Update test name in WebFluxTagsTests

Closes gh-19976
pull/19999/head
Madhura Bhave 6 years ago
parent
commit
7cb1fcf951
  1. 2
      spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/metrics/web/reactive/server/WebFluxTagsTests.java

2
spring-boot-project/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/metrics/web/reactive/server/WebFluxTagsTests.java

@ -113,7 +113,7 @@ class WebFluxTagsTests {
} }
@Test @Test
void outcomeTagIsUnknownWhenResponseStatusIsNull() { void outcomeTagIsSuccessWhenResponseStatusIsNull() {
this.exchange.getResponse().setStatusCode(null); this.exchange.getResponse().setStatusCode(null);
Tag tag = WebFluxTags.outcome(this.exchange); Tag tag = WebFluxTags.outcome(this.exchange);
assertThat(tag.getValue()).isEqualTo("SUCCESS"); assertThat(tag.getValue()).isEqualTo("SUCCESS");

Loading…
Cancel
Save