From c00f7ea7691f2a9b8f49cc084b7e0d7dd60547e7 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Mon, 22 May 2017 23:55:37 +0300 Subject: fix tests --- juick-www/src/test/java/com/juick/www/WebAppTests.java | 1 + 1 file changed, 1 insertion(+) (limited to 'juick-www') diff --git a/juick-www/src/test/java/com/juick/www/WebAppTests.java b/juick-www/src/test/java/com/juick/www/WebAppTests.java index 01b79e0b..773a6d9a 100644 --- a/juick-www/src/test/java/com/juick/www/WebAppTests.java +++ b/juick-www/src/test/java/com/juick/www/WebAppTests.java @@ -61,6 +61,7 @@ public class WebAppTests { @Before public void setup() { webClient = MockMvcWebClientBuilder.webAppContextSetup(this.wac).build(); + webClient.getOptions().setJavaScriptEnabled(false); } @Test -- cgit v1.2.3