aboutsummaryrefslogtreecommitdiff
path: root/juick-rss/src/test
diff options
context:
space:
mode:
Diffstat (limited to 'juick-rss/src/test')
-rw-r--r--juick-rss/src/test/java/com/juick/rss/tests/RSSTests.java7
1 files changed, 2 insertions, 5 deletions
diff --git a/juick-rss/src/test/java/com/juick/rss/tests/RSSTests.java b/juick-rss/src/test/java/com/juick/rss/tests/RSSTests.java
index 1edfe0d2..7c356771 100644
--- a/juick-rss/src/test/java/com/juick/rss/tests/RSSTests.java
+++ b/juick-rss/src/test/java/com/juick/rss/tests/RSSTests.java
@@ -20,7 +20,6 @@ package com.juick.rss.tests;
import com.juick.Message;
import com.juick.Tag;
import com.juick.User;
-import com.juick.configuration.DataConfiguration;
import com.juick.rss.configuration.RssAppConfiguration;
import com.juick.rss.configuration.RssMvcConfiguration;
import com.juick.service.MessagesService;
@@ -50,9 +49,7 @@ import java.util.List;
import static org.mockito.Mockito.when;
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.get;
-import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.content;
-import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status;
-import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.xpath;
+import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.*;
/**
* Created by vitalyster on 13.12.2016.
@@ -62,7 +59,7 @@ import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.
@WebAppConfiguration
public class RSSTests {
@Configuration
- @Import(value = {RssMvcConfiguration.class, RssAppConfiguration.class, DataConfiguration.class})
+ @Import(value = {RssMvcConfiguration.class, RssAppConfiguration.class})
static class Config {
@Bean
@Primary