aboutsummaryrefslogtreecommitdiff
path: root/juick-server-jdbc/src/test
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-02-22 14:54:43 +0300
committerGravatar Vitaly Takmazov2018-02-22 14:54:43 +0300
commit023c0e62aeadf600f9d9ebffc6bb5392c8e387fd (patch)
treef63e9ff4cf9f499d1f7dcf1c72442a2b849de9df /juick-server-jdbc/src/test
parent445efce2abf8310acc5b7bb652feef7968c86a2a (diff)
h2: varchar_ignorecase for tag names
Diffstat (limited to 'juick-server-jdbc/src/test')
-rw-r--r--juick-server-jdbc/src/test/java/com/juick/service/MessageServiceTest.java1
1 files changed, 1 insertions, 0 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 8c54cae1..bdb9cdcb 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
@@ -106,6 +106,7 @@ public class MessageServiceTest extends AbstractJUnit4SpringContextTests {
User ugnich = userService.getUserByUID(ugnichId).orElse(AnonymousUser.INSTANCE);
User freefd = userService.getUserByUID(freefdId).orElse(AnonymousUser.INSTANCE);
Tag yoTag = tagService.getTag("yoyo", true);
+ assertThat(tagService.getTag("YOYO", false), equalTo(yoTag));
int mid = messagesService.createMessage(ugnichId, "yo", null, Collections.singletonList(yoTag));
List<User> subscribers = subscriptionService.getSubscribedUsers(ugnichId, mid);