diff options
author | Vitaly Takmazov | 2017-08-23 11:59:55 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2017-08-23 13:36:38 +0300 |
commit | ca2db58145c4663a22f44f5f98a67aa03fbe8d38 (patch) | |
tree | b40c01b92b15c34df57024eb812ca0d37834e62f /src/test/java/com | |
parent | 3e4807157e3c244820dd4d5149997970530e4fcb (diff) |
server-jdbc: fix favorites count
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 8a6fc49e..7001d3f0 100644 --- a/src/test/java/com/juick/tests/ApiTests.java +++ b/src/test/java/com/juick/tests/ApiTests.java @@ -227,6 +227,10 @@ public class ApiTests { User readerUser = userService.getUserByUID(readerUid).orElse(new User()); assertEquals("should be subscribed", "Subscribed", juickProtocol.getReply(readerUser, "S #" + mid)); + /* TODO: move from juick-legacy + assertEquals("should be favorited", "Message added to your recommendations", + juickProtocol.getReply(readerUser, "! #" + mid)); + */ assertEquals("number of subscribed users should match", 1, subscriptionService.getUsersSubscribedToComments(mid, uid).size()); assertEquals("should be subscribed", "Subscribed", |