Merge branch '1.3.x'

This commit is contained in:
Andy Wilkinson
2016-04-20 10:58:41 +01:00
4 changed files with 69 additions and 4 deletions

View File

@@ -246,8 +246,8 @@ public class SpringApplicationContextLoader extends AbstractContextLoader {
WebMergedContextConfiguration webConfiguration) {
SpringBootMockServletContext servletContext = new SpringBootMockServletContext(
webConfiguration.getResourceBasePath());
initializers.add(0,
new ServletContextApplicationContextInitializer(servletContext));
initializers.add(0, new ServletContextApplicationContextInitializer(
servletContext, true));
}
}