From f2b6ec29e8e933c93239a3d114ca6013b3c06c0e Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Mon, 23 Jan 2017 12:05:35 +0300 Subject: fix protocol tests --- src/test/java/com/juick/tests/ApiTests.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/test/java/com/juick') 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, -- cgit v1.2.3