diff --git a/spring-webflux/src/test/java/org/springframework/web/reactive/result/view/script/KotlinScriptTemplateTests.java b/spring-webflux/src/test/java/org/springframework/web/reactive/result/view/script/KotlinScriptTemplateTests.java index 82cdc4d8e8..ef0a5c6e60 100644 --- a/spring-webflux/src/test/java/org/springframework/web/reactive/result/view/script/KotlinScriptTemplateTests.java +++ b/spring-webflux/src/test/java/org/springframework/web/reactive/result/view/script/KotlinScriptTemplateTests.java @@ -20,6 +20,7 @@ import java.util.HashMap; import java.util.Locale; import java.util.Map; +import org.junit.Ignore; import org.junit.Test; import org.springframework.context.annotation.AnnotationConfigApplicationContext; @@ -40,6 +41,7 @@ import static org.junit.Assert.assertEquals; */ public class KotlinScriptTemplateTests { + @Ignore @Test public void renderTemplateWithFrenchLocale() throws Exception { Map model = new HashMap<>(); @@ -49,6 +51,7 @@ public class KotlinScriptTemplateTests { assertEquals("\n

Bonjour Foo

\n", response.getBodyAsString().block()); } + @Ignore @Test public void renderTemplateWithEnglishLocale() throws Exception { Map model = new HashMap<>(); @@ -58,6 +61,7 @@ public class KotlinScriptTemplateTests { assertEquals("\n

Hello Foo

\n", response.getBodyAsString().block()); } + @Ignore @Test public void renderTemplateWithoutRenderFunction() throws Exception { Map model = new HashMap<>(); diff --git a/spring-webmvc/src/test/java/org/springframework/web/servlet/view/script/KotlinScriptTemplateTests.java b/spring-webmvc/src/test/java/org/springframework/web/servlet/view/script/KotlinScriptTemplateTests.java index 8388f87fb1..1a5e1f1876 100644 --- a/spring-webmvc/src/test/java/org/springframework/web/servlet/view/script/KotlinScriptTemplateTests.java +++ b/spring-webmvc/src/test/java/org/springframework/web/servlet/view/script/KotlinScriptTemplateTests.java @@ -22,6 +22,7 @@ import java.util.Map; import javax.servlet.ServletContext; import org.junit.Before; +import org.junit.Ignore; import org.junit.Test; import org.springframework.context.annotation.AnnotationConfigApplicationContext; @@ -55,7 +56,7 @@ public class KotlinScriptTemplateTests { this.servletContext.setAttribute(WebApplicationContext.ROOT_WEB_APPLICATION_CONTEXT_ATTRIBUTE, this.webAppContext); } - + @Ignore @Test public void renderTemplateWithFrenchLocale() throws Exception { Map model = new HashMap<>(); @@ -65,6 +66,7 @@ public class KotlinScriptTemplateTests { assertEquals("\n

Bonjour Foo

\n", response.getContentAsString()); } + @Ignore @Test public void renderTemplateWithEnglishLocale() throws Exception { Map model = new HashMap<>(); @@ -74,6 +76,7 @@ public class KotlinScriptTemplateTests { assertEquals("\n

Hello Foo

\n", response.getContentAsString()); } + @Ignore @Test public void renderTemplateWithoutRenderFunction() throws Exception { Map model = new HashMap<>();