This commit is contained in:
Phillip Webb
2018-10-13 20:05:07 -07:00
parent f96d73f3cc
commit c5786c218d
4 changed files with 3 additions and 10 deletions

View File

@@ -91,7 +91,7 @@ public class PathMappedEndpointsTests {
@Test
public void getPathWhenMissingIdShouldReturnNull() {
PathMappedEndpoints mapped = createTestMapped(null);
assertThat(mapped.getRootPath("xx")).isNull();
assertThat(mapped.getPath("xx")).isNull();
}
@Test

View File

@@ -48,7 +48,7 @@ public class MetricsWebFilterTests {
MockClock clock = new MockClock();
this.registry = new SimpleMeterRegistry(SimpleConfig.DEFAULT, clock);
this.webFilter = new MetricsWebFilter(this.registry,
new DefaultWebFluxTagsProvider(), REQUEST_METRICS_NAME);
new DefaultWebFluxTagsProvider(), REQUEST_METRICS_NAME, true);
}
@Test