diff --git a/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/web/servlet/WebMvcTestContextBootstrapper.java b/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/web/servlet/WebMvcTestContextBootstrapper.java index 524cec1029..509a77eacd 100644 --- a/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/web/servlet/WebMvcTestContextBootstrapper.java +++ b/spring-boot-test-autoconfigure/src/main/java/org/springframework/boot/test/autoconfigure/web/servlet/WebMvcTestContextBootstrapper.java @@ -17,10 +17,8 @@ package org.springframework.boot.test.autoconfigure.web.servlet; import org.springframework.boot.test.context.SpringBootTestContextBootstrapper; -import org.springframework.test.context.ContextLoader; import org.springframework.test.context.MergedContextConfiguration; import org.springframework.test.context.TestContextBootstrapper; -import org.springframework.test.context.web.WebDelegatingSmartContextLoader; import org.springframework.test.context.web.WebMergedContextConfiguration; /** @@ -30,12 +28,6 @@ import org.springframework.test.context.web.WebMergedContextConfiguration; */ class WebMvcTestContextBootstrapper extends SpringBootTestContextBootstrapper { - @Override - protected Class getDefaultContextLoaderClass( - Class testClass) { - return WebDelegatingSmartContextLoader.class; - } - @Override protected MergedContextConfiguration processMergedContextConfiguration( MergedContextConfiguration mergedConfig) {