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