From eb38c3abb7ae175463795acf51ebdcd03b995078 Mon Sep 17 00:00:00 2001 From: Phillip Webb Date: Tue, 28 May 2019 18:18:25 -0700 Subject: [PATCH] Fix test broken by additional customizer See gh-16498 --- .../ReactiveWebServerFactoryAutoConfigurationTests.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/web/reactive/ReactiveWebServerFactoryAutoConfigurationTests.java b/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/web/reactive/ReactiveWebServerFactoryAutoConfigurationTests.java index 5c397294f2..8059e8a5b1 100644 --- a/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/web/reactive/ReactiveWebServerFactoryAutoConfigurationTests.java +++ b/spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/web/reactive/ReactiveWebServerFactoryAutoConfigurationTests.java @@ -68,7 +68,7 @@ public class ReactiveWebServerFactoryAutoConfigurationTests { assertThat(context.getBeansOfType(ReactiveWebServerFactory.class)) .hasSize(1); assertThat(context.getBeansOfType(WebServerFactoryCustomizer.class)) - .hasSize(1); + .hasSize(2); assertThat(context .getBeansOfType(ReactiveWebServerFactoryCustomizer.class)) .hasSize(1);