diff options
author | Vitaly Takmazov | 2017-10-17 22:43:27 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2017-10-18 00:22:44 +0300 |
commit | a86b5ada5b07ec18671983b0c772063815cac334 (patch) | |
tree | 80e62339b857cd699db6f1f087cf2221df655d96 /juick-server-jdbc | |
parent | 5b6ac36436bbed6da7937f0fc83eb734ad929910 (diff) |
tests refatoring
now api and www tests uses embedded db
Diffstat (limited to 'juick-server-jdbc')
-rw-r--r-- | juick-server-jdbc/src/test/java/com/juick/service/MessageServiceTest.java | 2 | ||||
-rw-r--r-- | juick-server-jdbc/src/test/java/com/juick/service/MockImagesService.java | 3 |
2 files changed, 1 insertions, 4 deletions
diff --git a/juick-server-jdbc/src/test/java/com/juick/service/MessageServiceTest.java b/juick-server-jdbc/src/test/java/com/juick/service/MessageServiceTest.java index f5701b0c..0577e009 100644 --- a/juick-server-jdbc/src/test/java/com/juick/service/MessageServiceTest.java +++ b/juick-server-jdbc/src/test/java/com/juick/service/MessageServiceTest.java @@ -59,7 +59,7 @@ public class MessageServiceTest extends AbstractJUnit4SpringContextTests { @Inject private PMQueriesService pmQueriesService; - int ugnichId, freefdId, mid; + static int ugnichId, freefdId, mid; private static boolean setUpIsDone = false; diff --git a/juick-server-jdbc/src/test/java/com/juick/service/MockImagesService.java b/juick-server-jdbc/src/test/java/com/juick/service/MockImagesService.java index 6f47de91..33cc1243 100644 --- a/juick-server-jdbc/src/test/java/com/juick/service/MockImagesService.java +++ b/juick-server-jdbc/src/test/java/com/juick/service/MockImagesService.java @@ -5,9 +5,6 @@ import com.juick.Message; import com.juick.Photo; import org.springframework.util.StringUtils; -import java.io.File; -import java.nio.file.Paths; - public class MockImagesService implements ImagesService { @Override public void setAttachmentMetadata(String imgDir, String baseUrl, Message msg) throws Exception { |