diff options
author | Vitaly Takmazov | 2018-04-15 19:04:31 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-04-15 19:04:31 +0300 |
commit | fa9788960e934d9b78e5968eb2c384254218090a (patch) | |
tree | 7b1d25bd086f40277a220a86d92e38ee51e77257 /juick-server/src/test/java | |
parent | 047a9da1610a69077ae3a4598accf8b838206d92 (diff) |
server: fix tags cache
Diffstat (limited to 'juick-server/src/test/java')
-rw-r--r-- | juick-server/src/test/java/com/juick/server/tests/ServerTests.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/juick-server/src/test/java/com/juick/server/tests/ServerTests.java b/juick-server/src/test/java/com/juick/server/tests/ServerTests.java index cdf10326..1acc0c15 100644 --- a/juick-server/src/test/java/com/juick/server/tests/ServerTests.java +++ b/juick-server/src/test/java/com/juick/server/tests/ServerTests.java @@ -651,6 +651,7 @@ public class ServerTests { commandsManager.processCommand(user, "#" + mid + " *there", emptyUri).getText()); assertEquals("number of tags should match", 2, tagService.getMessageTags(mid).size()); + assertThat(messagesService.getMessage(mid).getTags().size(), is(2)); assertEquals("should be blacklisted", "Tag added to your blacklist", commandsManager.processCommand(readerUser, "BL *there", emptyUri).getText()); assertEquals("number of subscribed users should match", 0, |