Fix test broken by additional customizer

See gh-16498
pull/17002/head
Phillip Webb 6 years ago
parent 9a6415375d
commit eb38c3abb7

@ -68,7 +68,7 @@ public class ReactiveWebServerFactoryAutoConfigurationTests {
assertThat(context.getBeansOfType(ReactiveWebServerFactory.class)) assertThat(context.getBeansOfType(ReactiveWebServerFactory.class))
.hasSize(1); .hasSize(1);
assertThat(context.getBeansOfType(WebServerFactoryCustomizer.class)) assertThat(context.getBeansOfType(WebServerFactoryCustomizer.class))
.hasSize(1); .hasSize(2);
assertThat(context assertThat(context
.getBeansOfType(ReactiveWebServerFactoryCustomizer.class)) .getBeansOfType(ReactiveWebServerFactoryCustomizer.class))
.hasSize(1); .hasSize(1);

Loading…
Cancel
Save