aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/test/java/com/juick/tests/ApiTests.java5
1 files changed, 5 insertions, 0 deletions
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