aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/test/java/com/juick/tests/ApiTests.java9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/test/java/com/juick/tests/ApiTests.java b/src/test/java/com/juick/tests/ApiTests.java
index 51641c1d..44827ce6 100644
--- a/src/test/java/com/juick/tests/ApiTests.java
+++ b/src/test/java/com/juick/tests/ApiTests.java
@@ -26,10 +26,7 @@ import com.juick.User;
import com.juick.server.helpers.TagStats;
import com.juick.server.protocol.JuickProtocol;
import com.juick.server.protocol.ProtocolListener;
-import com.juick.service.MessagesService;
-import com.juick.service.SubscriptionService;
-import com.juick.service.TagService;
-import com.juick.service.UserService;
+import com.juick.service.*;
import com.juick.service.search.SearchService;
import com.juick.www.WebApp;
import org.apache.commons.dbcp2.BasicDataSource;
@@ -136,6 +133,10 @@ public class ApiTests {
public WebApp webApp() {
return Mockito.mock(WebApp.class);
}
+ @Bean
+ public ImagesService imagesService() {
+ return Mockito.mock(ImagesService.class);
+ }
}
@Inject