From 2d272dfe5ee86229f27d7d2afe96af3985c8a33e Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Mon, 26 Mar 2018 11:59:00 +0300 Subject: www: fix tests configuration --- juick-www/src/test/java/com/juick/www/WebAppTests.java | 6 ------ 1 file changed, 6 deletions(-) (limited to 'juick-www/src/test/java/com/juick') 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 8752a25e..e1fbace6 100644 --- a/juick-www/src/test/java/com/juick/www/WebAppTests.java +++ b/juick-www/src/test/java/com/juick/www/WebAppTests.java @@ -32,7 +32,6 @@ import com.juick.util.MessageUtils; import com.juick.www.configuration.SapeConfiguration; import com.juick.www.configuration.WebSecurityConfig; import com.juick.www.configuration.WwwAppConfiguration; -import com.juick.www.configuration.WwwServletConfiguration; import com.mitchellbosecke.pebble.PebbleEngine; import com.mitchellbosecke.pebble.error.PebbleException; import com.mitchellbosecke.pebble.template.PebbleTemplate; @@ -82,11 +81,6 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers. @SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.DEFINED_PORT) @TestPropertySource(properties = {"xmpp_disabled=true"}) -@ContextConfiguration(classes = { - DataConfiguration.class, - WwwServletConfiguration.class, WwwAppConfiguration.class, SapeConfiguration.class, - WebSecurityConfig.class -}) public class WebAppTests { @MockBean private ImagesService imagesService; -- cgit v1.2.3