diff options
author | Vitaly Takmazov | 2016-12-19 23:39:25 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2016-12-19 23:39:25 +0300 |
commit | 03a03639514bfb586555a3367fd3ea58da0f2a94 (patch) | |
tree | a8e62458bda9f0e99d5685b8e1c42a1a82226051 /src/test/java/com | |
parent | e8552c9b162daa5cf4e651330e278dee4ea5198f (diff) |
juick-server: fix tags in getSubscribedUsers
Diffstat (limited to 'src/test/java/com')
-rw-r--r-- | src/test/java/com/juick/tests/ApiTests.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/test/java/com/juick/tests/ApiTests.java b/src/test/java/com/juick/tests/ApiTests.java index 931838d7..6a945d4a 100644 --- a/src/test/java/com/juick/tests/ApiTests.java +++ b/src/test/java/com/juick/tests/ApiTests.java @@ -226,6 +226,10 @@ public class ApiTests { juickProtocol.getReply(user, "#" + mid + " *there").getResult()); assertEquals("number of tags should match", 2, tagService.getMessageTags(mid).size()); + assertEquals("should be blacklisted", "Tag added to your blacklist", + juickProtocol.getReply(readerUser, "BL *there").getResult()); + assertEquals("number of subscribed users should match", 0, + subscriptionService.getSubscribedUsers(uid, mid).size()); assertEquals("tags should be updated", "Tags are updated", juickProtocol.getReply(user, "#" + mid + " *there").getResult()); assertEquals("number of tags should match", 1, |