aboutsummaryrefslogtreecommitdiff
path: root/src/test/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/java')
-rw-r--r--src/test/java/com/juick/server/tests/ServerTests.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/test/java/com/juick/server/tests/ServerTests.java b/src/test/java/com/juick/server/tests/ServerTests.java
index 65e19b89a..cc0044b99 100644
--- a/src/test/java/com/juick/server/tests/ServerTests.java
+++ b/src/test/java/com/juick/server/tests/ServerTests.java
@@ -2023,11 +2023,11 @@ public class ServerTests {
@Test
public void messagePropertiesTest() {
int mid = messagesService.createMessage(ugnich.getUid(), "YO", null, null);
- messagesService.setMessageProperty(mid, "tg_id", "YO");
- assertThat(messagesService.getMessageProperty(mid, "tg_id"), is("YO"));
- messagesService.setMessageProperty(mid, "tg_id", "YO2");
- assertThat(messagesService.getMessageProperty(mid, "tg_id"), is("YO2"));
- messagesService.setMessageProperty(mid, "tg_id", "");
- assertThat(messagesService.getMessageProperty(mid, "tg_id"), is(StringUtils.EMPTY));
+ messagesService.setMessageProperty(mid, 0,"tg_id", "YO");
+ assertThat(messagesService.getMessageProperty(mid, 0,"tg_id"), is("YO"));
+ messagesService.setMessageProperty(mid, 0,"tg_id", "YO2");
+ assertThat(messagesService.getMessageProperty(mid, 0,"tg_id"), is("YO2"));
+ messagesService.setMessageProperty(mid, 0, "tg_id", "");
+ assertThat(messagesService.getMessageProperty(mid, 0,"tg_id"), is(StringUtils.EMPTY));
}
}