diff options
Diffstat (limited to 'juick-server-jdbc/src')
-rw-r--r-- | juick-server-jdbc/src/test/java/com/juick/configuration/MockStorageConfiguration.java | 14 |
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(); + } +} |