diff options
author | Vitaly Takmazov | 2017-03-29 13:37:19 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2017-03-29 13:37:19 +0300 |
commit | 889a5e543d33e3305bccd77e52722da695e068f7 (patch) | |
tree | e2d9e9b87acbf911d72e6f74cfd1e2ebfa2ae677 | |
parent | 2013ca7c8a174962c2c298b832b0642b845e2eac (diff) |
juick-www: fix tests
-rw-r--r-- | juick-www/src/test/java/com/juick/www/WebAppTests.java | 6 |
1 files changed, 5 insertions, 1 deletions
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 |