diff options
author | Vitaly Takmazov | 2017-01-23 12:05:35 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2017-01-23 12:05:35 +0300 |
commit | f2b6ec29e8e933c93239a3d114ca6013b3c06c0e (patch) | |
tree | 8815bd038c75613195bc8e4116000ca0cb9a6650 /src/test/java/com/juick/tests/ApiTests.java | |
parent | 7b3761fc68828d1c10ce74326a500ed8982e44ee (diff) |
fix protocol tests
Diffstat (limited to 'src/test/java/com/juick/tests/ApiTests.java')
-rw-r--r-- | src/test/java/com/juick/tests/ApiTests.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/java/com/juick/tests/ApiTests.java b/src/test/java/com/juick/tests/ApiTests.java index 1cd17bd6..2d09d463 100644 --- a/src/test/java/com/juick/tests/ApiTests.java +++ b/src/test/java/com/juick/tests/ApiTests.java @@ -220,9 +220,9 @@ public class ApiTests { assertEquals("number of reader users should match", 1, userService.getUserReaders(uid).size()); String expectedReply = "Reply posted.\n#" + mid + "/1 " - + juickProtocol.getBaseUri() + mid + "/1"; + + juickProtocol.getBaseUri() + mid + "#1"; String expectedSecondReply = "Reply posted.\n#" + mid + "/2 " - + juickProtocol.getBaseUri() + mid + "/2"; + + juickProtocol.getBaseUri() + mid + "#2"; assertEquals("should be reply", expectedReply, juickProtocol.getReply(user, "#" + mid + " yoyo").getResult()); assertEquals("should be second reply", expectedSecondReply, |