diff options
author | Vitaly Takmazov | 2018-02-22 14:26:09 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-02-22 14:26:09 +0300 |
commit | 445efce2abf8310acc5b7bb652feef7968c86a2a (patch) | |
tree | 04ef8712a014a2f75b8bd96cf68c8bd3a5af6dc6 /juick-server-jdbc/src/test/java/com/juick/service | |
parent | b74b92f124f6d31a7ee48deaf48f0604886836f8 (diff) |
default database is h2
Diffstat (limited to 'juick-server-jdbc/src/test/java/com/juick/service')
-rw-r--r-- | juick-server-jdbc/src/test/java/com/juick/service/MessageServiceTest.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/juick-server-jdbc/src/test/java/com/juick/service/MessageServiceTest.java b/juick-server-jdbc/src/test/java/com/juick/service/MessageServiceTest.java index b6bfab61..8c54cae1 100644 --- a/juick-server-jdbc/src/test/java/com/juick/service/MessageServiceTest.java +++ b/juick-server-jdbc/src/test/java/com/juick/service/MessageServiceTest.java @@ -20,6 +20,7 @@ package com.juick.service; import com.juick.Message; import com.juick.Tag; import com.juick.User; +import com.juick.configuration.DataConfiguration; import com.juick.configuration.RepositoryConfiguration; import com.juick.server.helpers.AnonymousUser; import com.juick.server.helpers.TagStats; @@ -47,7 +48,7 @@ import static org.junit.Assert.assertEquals; * Created by aalexeev on 11/25/16. */ @RunWith(SpringJUnit4ClassRunner.class) -@ContextConfiguration(classes = RepositoryConfiguration.class) +@ContextConfiguration(classes = { DataConfiguration.class, RepositoryConfiguration.class }) public class MessageServiceTest extends AbstractJUnit4SpringContextTests { @Inject private MessagesService messagesService; |