diff --git a/spring-boot/src/test/java/org/springframework/boot/context/embedded/undertow/UndertowEmbeddedServletContainerFactoryTests.java b/spring-boot/src/test/java/org/springframework/boot/context/embedded/undertow/UndertowEmbeddedServletContainerFactoryTests.java index 63b78be7df..ccd81aea0a 100644 --- a/spring-boot/src/test/java/org/springframework/boot/context/embedded/undertow/UndertowEmbeddedServletContainerFactoryTests.java +++ b/spring-boot/src/test/java/org/springframework/boot/context/embedded/undertow/UndertowEmbeddedServletContainerFactoryTests.java @@ -146,7 +146,7 @@ public class UndertowEmbeddedServletContainerFactoryTests extends } }); this.container = factory.getEmbeddedServletContainer(); - assertEquals("", contextPath.get()); + assertEquals("/", contextPath.get()); } }