From 9a4add44ecbd32dea6ac3d30fd81ae1ac82e3dbc Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Sun, 15 Oct 2017 05:37:18 +0300 Subject: api: ImagesService --- src/test/java/com/juick/tests/ApiTests.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'src/test') 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 -- cgit v1.2.3