From 2be12ebce3d600804227f6b74374c8db37921139 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Mon, 11 Dec 2017 22:55:51 +0300 Subject: fix some tests --- .../com/juick/configuration/MockStorageConfiguration.java | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 juick-server-jdbc/src/test/java/com/juick/configuration/MockStorageConfiguration.java (limited to 'juick-server-jdbc/src') 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(); + } +} -- cgit v1.2.3