Commit f24b55a2 authored by Andy Wilkinson's avatar Andy Wilkinson

Upgrade to Thymeleaf 3.0.6.RELEASE

Closes gh-9207
parent ce3aa1d4
......@@ -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);
......
......@@ -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("<html>bar</html>");
}
......
......@@ -177,7 +177,7 @@
<sqlite-jdbc.version>3.16.1</sqlite-jdbc.version>
<statsd-client.version>3.1.0</statsd-client.version>
<sun-mail.version>${javax-mail.version}</sun-mail.version>
<thymeleaf.version>3.0.5.RELEASE</thymeleaf.version>
<thymeleaf.version>3.0.6.RELEASE</thymeleaf.version>
<thymeleaf-spring5.version>3.0.5.M3</thymeleaf-spring5.version>
<thymeleaf-extras-springsecurity4.version>3.0.2.RELEASE</thymeleaf-extras-springsecurity4.version>
<thymeleaf-layout-dialect.version>2.2.1</thymeleaf-layout-dialect.version>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment