Skip to content

Commit 258059e

Browse files
committed
Fix failing ThymeleafAutoConfigurationTests
Remove accidental addition of a 1.2 test.
1 parent c1404b1 commit 258059e

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

spring-boot-autoconfigure/src/test/java/org/springframework/boot/autoconfigure/thymeleaf/ThymeleafAutoConfigurationTests.java

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -140,17 +140,6 @@ public void createLayoutFromConfigClass() throws Exception {
140140
context.close();
141141
}
142142

143-
@Test
144-
public void useDataDialect() throws Exception {
145-
this.context.register(ThymeleafAutoConfiguration.class,
146-
PropertyPlaceholderAutoConfiguration.class);
147-
this.context.refresh();
148-
TemplateEngine engine = this.context.getBean(TemplateEngine.class);
149-
Context attrs = new Context(Locale.UK, Collections.singletonMap("foo", "bar"));
150-
String result = engine.process("data-dialect", attrs);
151-
assertEquals("<html><body data-foo=\"bar\"></body></html>", result);
152-
}
153-
154143
@Test
155144
public void renderTemplate() throws Exception {
156145
this.context.register(ThymeleafAutoConfiguration.class,

0 commit comments

Comments
 (0)