diff --git a/spring-boot-devtools/src/test/java/org/springframework/boot/devtools/autoconfigure/LocalDevToolsAutoConfigurationTests.java b/spring-boot-devtools/src/test/java/org/springframework/boot/devtools/autoconfigure/LocalDevToolsAutoConfigurationTests.java index eab60621d5..9d16010d00 100644 --- a/spring-boot-devtools/src/test/java/org/springframework/boot/devtools/autoconfigure/LocalDevToolsAutoConfigurationTests.java +++ b/spring-boot-devtools/src/test/java/org/springframework/boot/devtools/autoconfigure/LocalDevToolsAutoConfigurationTests.java @@ -289,6 +289,7 @@ public class LocalDevToolsAutoConfigurationTests { @Configuration @Import({ EmbeddedServletContainerAutoConfiguration.class, LocalDevToolsAutoConfiguration.class, ThymeleafAutoConfiguration.class }) + @EnableConfigurationProperties(ServerProperties.class) public static class ConfigWithMockLiveReload { @Bean @@ -301,6 +302,7 @@ public class LocalDevToolsAutoConfigurationTests { @Configuration @Import({ EmbeddedServletContainerAutoConfiguration.class, LocalDevToolsAutoConfiguration.class, ResourceProperties.class }) + @EnableConfigurationProperties(ServerProperties.class) public static class WebResourcesConfig { }