Browse Source

Merge branch '2.0.x'

pull/14912/merge
Madhura Bhave 7 years ago
parent
commit
0dc4afdefd
  1. 3
      spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/freemarker/FreeMarkerAutoConfigurationServletIntegrationTests.java

3
spring-boot-project/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/freemarker/FreeMarkerAutoConfigurationServletIntegrationTests.java

@ -112,8 +112,7 @@ public class FreeMarkerAutoConfigurationServletIntegrationTests { @@ -112,8 +112,7 @@ public class FreeMarkerAutoConfigurationServletIntegrationTests {
@Test
public void customTemplateLoaderPath() throws Exception {
load(
"spring.freemarker.templateLoaderPath:classpath:/custom-templates/");
load("spring.freemarker.templateLoaderPath:classpath:/custom-templates/");
MockHttpServletResponse response = render("custom");
String result = response.getContentAsString();
assertThat(result).contains("custom");

Loading…
Cancel
Save