aboutsummaryrefslogtreecommitdiff
path: root/juick-server/src/test/java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-04-15 19:04:31 +0300
committerGravatar Vitaly Takmazov2018-04-15 19:04:31 +0300
commitfa9788960e934d9b78e5968eb2c384254218090a (patch)
tree7b1d25bd086f40277a220a86d92e38ee51e77257 /juick-server/src/test/java
parent047a9da1610a69077ae3a4598accf8b838206d92 (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.java1
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,