diff options
author | Vitaly Takmazov | 2016-12-01 23:01:22 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2016-12-01 23:01:22 +0300 |
commit | 8b29dc19a288cf50246af0a3834d45e07da51642 (patch) | |
tree | e5cd5f6e7611d002fd5809c3138dbe39f6602583 /src/test/java/com/juick/tests | |
parent | bdd36eb9858d0dccd94827de55e36767095be048 (diff) |
juick-core: fix replies serialization
Diffstat (limited to 'src/test/java/com/juick/tests')
-rw-r--r-- | src/test/java/com/juick/tests/ApiTests.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/java/com/juick/tests/ApiTests.java b/src/test/java/com/juick/tests/ApiTests.java index 1d777d62..1c13c1a7 100644 --- a/src/test/java/com/juick/tests/ApiTests.java +++ b/src/test/java/com/juick/tests/ApiTests.java @@ -85,7 +85,7 @@ public class ApiTests { int rid = MessagesQueries.createReply(jdbc, msg2.getMid(), 0, ugnich.getUid(), "bla-bla", null); assertEquals(1, rid); Message msg3 = MessagesQueries.getMessage(jdbc, mid2); - assertEquals(1, msg3.Replies); + assertEquals(1, msg3.getReplies()); assertEquals("weather", msg3.getTags().get(0).getName()); assertEquals(ugnich.getUid(), UserQueries.checkPassword(jdbc, ugnich.getName(), "x")); assertEquals(-1, UserQueries.checkPassword(jdbc, ugnich.getName(), "xy")); |