From 023faf092faa11ecde2c17cb7ff37b1f09cccce2 Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Fri, 6 Dec 2013 15:45:07 +0000 Subject: [PATCH] Fix broken test --- .../autoconfigure/EndpointWebMvcAutoConfigurationTests.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/autoconfigure/EndpointWebMvcAutoConfigurationTests.java b/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/autoconfigure/EndpointWebMvcAutoConfigurationTests.java index 80a439e32c..20dc615dbc 100644 --- a/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/autoconfigure/EndpointWebMvcAutoConfigurationTests.java +++ b/spring-boot-actuator/src/test/java/org/springframework/boot/actuate/autoconfigure/EndpointWebMvcAutoConfigurationTests.java @@ -88,7 +88,7 @@ public class EndpointWebMvcAutoConfigurationTests { EmbeddedServletContainerAutoConfiguration.class, DispatcherServletAutoConfiguration.class, WebMvcAutoConfiguration.class, ManagementServerPropertiesAutoConfiguration.class, - EndpointWebMvcAutoConfiguration.class); + EndpointWebMvcAutoConfiguration.class, ErrorMvcAutoConfiguration.class); this.applicationContext.refresh(); assertContent("/controller", 8080, "controlleroutput"); assertContent("/endpoint", 8080, null); @@ -125,7 +125,7 @@ public class EndpointWebMvcAutoConfigurationTests { ServerPropertiesAutoConfiguration.class, EmbeddedServletContainerAutoConfiguration.class, DispatcherServletAutoConfiguration.class, WebMvcAutoConfiguration.class, - EndpointWebMvcAutoConfiguration.class); + EndpointWebMvcAutoConfiguration.class, ErrorMvcAutoConfiguration.class); this.applicationContext.refresh(); assertContent("/controller", 7070, "controlleroutput"); assertContent("/endpoint", 7070, null);