aboutsummaryrefslogtreecommitdiff
path: root/src/test
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2017-01-23 12:05:35 +0300
committerGravatar Vitaly Takmazov2017-01-23 12:05:35 +0300
commitf2b6ec29e8e933c93239a3d114ca6013b3c06c0e (patch)
tree8815bd038c75613195bc8e4116000ca0cb9a6650 /src/test
parent7b3761fc68828d1c10ce74326a500ed8982e44ee (diff)
fix protocol tests
Diffstat (limited to 'src/test')
-rw-r--r--src/test/java/com/juick/tests/ApiTests.java4
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,