From 2b6d46ff24f3e1e851fff7ffb4901a2366d17ec9 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Fri, 23 Jun 2017 10:47:19 +0300 Subject: fix tests and cleanup --- src/test/java/com/juick/tests/ApiTests.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/test/java/com/juick/tests') diff --git a/src/test/java/com/juick/tests/ApiTests.java b/src/test/java/com/juick/tests/ApiTests.java index 778cc7af..aafbade6 100644 --- a/src/test/java/com/juick/tests/ApiTests.java +++ b/src/test/java/com/juick/tests/ApiTests.java @@ -14,6 +14,7 @@ import com.juick.service.SubscriptionService; import com.juick.service.TagService; import com.juick.service.UserService; import com.juick.service.search.SearchService; +import com.juick.www.WebApp; import com.juick.www.controllers.PageTemplates; import org.apache.commons.dbcp2.BasicDataSource; import org.apache.commons.lang3.StringUtils; @@ -120,6 +121,10 @@ public class ApiTests { public Sape sape() { return Mockito.mock(Sape.class); } + @Bean + public WebApp webApp() { + return Mockito.mock(WebApp.class); + } } @Inject -- cgit v1.2.3