aboutsummaryrefslogtreecommitdiff
path: root/juick-server-jdbc/src/test/java/com
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2017-12-11 22:55:51 +0300
committerGravatar Vitaly Takmazov2017-12-11 22:55:51 +0300
commit2be12ebce3d600804227f6b74374c8db37921139 (patch)
tree37d8d0578e8e4eb666a28dcf30e5b4bf8f6dabee /juick-server-jdbc/src/test/java/com
parent18eebc950f6cf91ff9035c83836f0f56ed3d8bf4 (diff)
fix some tests
Diffstat (limited to 'juick-server-jdbc/src/test/java/com')
-rw-r--r--juick-server-jdbc/src/test/java/com/juick/configuration/MockStorageConfiguration.java14
1 files changed, 14 insertions, 0 deletions
diff --git a/juick-server-jdbc/src/test/java/com/juick/configuration/MockStorageConfiguration.java b/juick-server-jdbc/src/test/java/com/juick/configuration/MockStorageConfiguration.java
new file mode 100644
index 00000000..bfaa26b9
--- /dev/null
+++ b/juick-server-jdbc/src/test/java/com/juick/configuration/MockStorageConfiguration.java
@@ -0,0 +1,14 @@
+package com.juick.configuration;
+
+import com.juick.service.ImagesService;
+import com.juick.service.MockImagesService;
+import org.springframework.context.annotation.Bean;
+import org.springframework.context.annotation.Configuration;
+
+@Configuration
+public class MockStorageConfiguration {
+ @Bean
+ public ImagesService imagesService() {
+ return new MockImagesService();
+ }
+}