diff --git a/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/thymeleaf/ThymeleafReactiveAutoConfigurationTests.java b/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/thymeleaf/ThymeleafReactiveAutoConfigurationTests.java index b9fa1451ea7..a5cb7123410 100644 --- a/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/thymeleaf/ThymeleafReactiveAutoConfigurationTests.java +++ b/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/thymeleaf/ThymeleafReactiveAutoConfigurationTests.java @@ -68,7 +68,7 @@ public class ThymeleafReactiveAutoConfigurationTests { @Test public void createFromConfigClass() throws Exception { - load(BaseConfiguration.class, "spring.thymeleaf.suffix:.txt"); + load(BaseConfiguration.class, "spring.thymeleaf.suffix:.html"); TemplateEngine engine = this.context.getBean(TemplateEngine.class); Context attrs = new Context(Locale.UK, Collections.singletonMap("foo", "bar")); String result = engine.process("template", attrs); diff --git a/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/thymeleaf/ThymeleafServletAutoConfigurationTests.java b/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/thymeleaf/ThymeleafServletAutoConfigurationTests.java index 5710c93007d..fcde8b85154 100644 --- a/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/thymeleaf/ThymeleafServletAutoConfigurationTests.java +++ b/spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/thymeleaf/ThymeleafServletAutoConfigurationTests.java @@ -76,11 +76,11 @@ public class ThymeleafServletAutoConfigurationTests { @Test public void createFromConfigClass() throws Exception { - load(BaseConfiguration.class, "spring.thymeleaf.mode:XHTML", + load(BaseConfiguration.class, "spring.thymeleaf.mode:HTML", "spring.thymeleaf.suffix:"); TemplateEngine engine = this.context.getBean(TemplateEngine.class); Context attrs = new Context(Locale.UK, Collections.singletonMap("foo", "bar")); - String result = engine.process("template.txt", attrs); + String result = engine.process("template.html", attrs); assertThat(result).isEqualTo("bar"); } diff --git a/spring-boot-autoconfigure/src/test/resources/templates/template.txt b/spring-boot-autoconfigure/src/test/resources/templates/template.html similarity index 100% rename from spring-boot-autoconfigure/src/test/resources/templates/template.txt rename to spring-boot-autoconfigure/src/test/resources/templates/template.html diff --git a/spring-boot-dependencies/pom.xml b/spring-boot-dependencies/pom.xml index bc5f6565bb7..ef59c0a5d00 100644 --- a/spring-boot-dependencies/pom.xml +++ b/spring-boot-dependencies/pom.xml @@ -177,7 +177,7 @@ 3.16.1 3.1.0 ${javax-mail.version} - 3.0.5.RELEASE + 3.0.6.RELEASE 3.0.5.M3 3.0.2.RELEASE 2.2.1