aboutsummaryrefslogtreecommitdiff
path: root/juick-server-jdbc/src/test/java/com/juick/configuration
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2017-10-09 15:27:48 +0300
committerGravatar Vitaly Takmazov2017-10-10 09:37:31 +0300
commit448fc7e84732422011186a9a4633c345e9c6208e (patch)
tree7ec23a9f29939fecf6456956ead6cebd1338871d /juick-server-jdbc/src/test/java/com/juick/configuration
parent443daa747298de315840cdd6ee6992519707e61a (diff)
xmpp:ConnectionOut -> StreamServerDialback
Diffstat (limited to 'juick-server-jdbc/src/test/java/com/juick/configuration')
-rw-r--r--juick-server-jdbc/src/test/java/com/juick/configuration/MockDataConfiguration.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/juick-server-jdbc/src/test/java/com/juick/configuration/MockDataConfiguration.java b/juick-server-jdbc/src/test/java/com/juick/configuration/MockDataConfiguration.java
index 4676f97a..a4e21bc6 100644
--- a/juick-server-jdbc/src/test/java/com/juick/configuration/MockDataConfiguration.java
+++ b/juick-server-jdbc/src/test/java/com/juick/configuration/MockDataConfiguration.java
@@ -19,6 +19,7 @@ package com.juick.configuration;
import com.juick.service.*;
import org.mockito.Mockito;
+import org.mockito.NotExtensible;
import org.springframework.context.annotation.Bean;
/**
@@ -61,4 +62,8 @@ public class MockDataConfiguration {
EmailService emailService() {
return Mockito.mock(EmailService.class);
}
+ @Bean
+ ShowQueriesService showQueriesService() {
+ return Mockito.mock(ShowQueriesService.class);
+ }
}