Restore HttpTraceAutoConfigurationTests.configuresServletFilter()

Closes gh-16885
pull/16905/head
Johnny Lim 6 years ago committed by Stephane Nicoll
parent 75c42023c7
commit 4900117c71

@ -91,6 +91,13 @@ public class HttpTraceAutoConfigurationTests {
});
}
@Test
public void configuresServletFilter() {
this.contextRunner.withUserConfiguration(HttpTraceRepositoryConfiguration.class)
.run((context) -> assertThat(context)
.hasSingleBean(HttpTraceFilter.class));
}
@Test
public void usesUserProvidedServletFilter() {
this.contextRunner.withUserConfiguration(HttpTraceRepositoryConfiguration.class)

Loading…
Cancel
Save