aboutsummaryrefslogtreecommitdiff
path: root/juick-server-jdbc
diff options
context:
space:
mode:
Diffstat (limited to 'juick-server-jdbc')
-rw-r--r--juick-server-jdbc/src/test/java/com/juick/service/MessageServiceTest.java2
-rw-r--r--juick-server-jdbc/src/test/java/com/juick/service/MockImagesService.java3
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 {