Polish forward merge to reflect renamed classes

pull/8229/merge
Andy Wilkinson 8 years ago
parent dc0415ebb5
commit c37bba29ef

@ -26,8 +26,8 @@ import org.junit.rules.ExpectedException;
import org.springframework.beans.DirectFieldAccessor;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.context.embedded.EmbeddedServletContainer;
import org.springframework.boot.context.embedded.EmbeddedServletContainerFactory;
import org.springframework.boot.context.embedded.EmbeddedWebServer;
import org.springframework.boot.context.embedded.undertow.UndertowEmbeddedServletContainerFactory;
import org.springframework.boot.web.servlet.ServletContextInitializer;
import org.springframework.context.ConfigurableApplicationContext;
@ -96,8 +96,8 @@ public class SpringBootServletInitializerTests {
@Test
public void errorPageFilterRegistrationCanBeDisabled() throws Exception {
EmbeddedServletContainer container = new UndertowEmbeddedServletContainerFactory(
0).getEmbeddedServletContainer(new ServletContextInitializer() {
EmbeddedWebServer container = new UndertowEmbeddedServletContainerFactory(0)
.getEmbeddedServletContainer(new ServletContextInitializer() {
@Override
public void onStartup(ServletContext servletContext)

Loading…
Cancel
Save