From 889a5e543d33e3305bccd77e52722da695e068f7 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Wed, 29 Mar 2017 13:37:19 +0300 Subject: juick-www: fix tests --- juick-www/src/test/java/com/juick/www/WebAppTests.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'juick-www/src/test/java/com/juick/www') diff --git a/juick-www/src/test/java/com/juick/www/WebAppTests.java b/juick-www/src/test/java/com/juick/www/WebAppTests.java index ffa540b8..01b79e0b 100644 --- a/juick-www/src/test/java/com/juick/www/WebAppTests.java +++ b/juick-www/src/test/java/com/juick/www/WebAppTests.java @@ -9,6 +9,7 @@ import com.juick.configuration.MockDataConfiguration; import com.juick.service.MessagesService; import com.juick.service.UserService; import com.juick.tests.util.MockUtils; +import com.juick.www.configuration.SapeConfiguration; import com.juick.www.configuration.WwwAppConfiguration; import com.juick.www.configuration.WwwServletConfiguration; import org.junit.Before; @@ -39,7 +40,10 @@ import static org.mockito.Mockito.when; @ContextConfiguration public class WebAppTests { @Configuration - @Import(value = {WwwServletConfiguration.class, WwwAppConfiguration.class, MockDataConfiguration.class}) + @Import(value = { + WwwServletConfiguration.class, WwwAppConfiguration.class, SapeConfiguration.class, + MockDataConfiguration.class + }) static class Config {} @Inject -- cgit v1.2.3