aboutsummaryrefslogtreecommitdiff
path: root/juick-server-jdbc/src/test/java/com/juick/configuration/MockDataConfiguration.java
diff options
context:
space:
mode:
Diffstat (limited to 'juick-server-jdbc/src/test/java/com/juick/configuration/MockDataConfiguration.java')
-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);
+ }
}