|
|
@ -81,13 +81,17 @@ public class WebEndpointsAutoConfigurationIntegrationTests {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
private WebApplicationContextRunner servletWebRunner() {
|
|
|
|
private WebApplicationContextRunner servletWebRunner() {
|
|
|
|
return new WebApplicationContextRunner().withConfiguration(
|
|
|
|
return new WebApplicationContextRunner()
|
|
|
|
UserConfigurations.of(WebEndpointTestApplication.class));
|
|
|
|
.withConfiguration(
|
|
|
|
|
|
|
|
UserConfigurations.of(WebEndpointTestApplication.class))
|
|
|
|
|
|
|
|
.withPropertyValues("spring.metrics.export.statsd.enabled:false");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
private ReactiveWebApplicationContextRunner reactiveWebRunner() {
|
|
|
|
private ReactiveWebApplicationContextRunner reactiveWebRunner() {
|
|
|
|
return new ReactiveWebApplicationContextRunner().withConfiguration(
|
|
|
|
return new ReactiveWebApplicationContextRunner()
|
|
|
|
UserConfigurations.of(WebEndpointTestApplication.class));
|
|
|
|
.withConfiguration(
|
|
|
|
|
|
|
|
UserConfigurations.of(WebEndpointTestApplication.class))
|
|
|
|
|
|
|
|
.withPropertyValues("spring.metrics.export.statsd.enabled:false");
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
@EnableAutoConfiguration(exclude = { FlywayAutoConfiguration.class,
|
|
|
|
@EnableAutoConfiguration(exclude = { FlywayAutoConfiguration.class,
|
|
|
|