diff options
author | 2018-05-10 12:50:08 +0300 | |
---|---|---|
committer | 2018-05-10 12:50:08 +0300 | |
commit | fb540605626e1c7bb1544a518a254e6a820afcb3 (patch) | |
tree | b370df3f031a1a72a34b64bc197cd600b6947f5d /juick-server/src/test/java/com/juick/server/tests/ServerTests.java | |
parent | d2a1f21717c8583c9804c69319123fb7ebaac261 (diff) |
server: MessageReadEvent
Diffstat (limited to 'juick-server/src/test/java/com/juick/server/tests/ServerTests.java')
-rw-r--r-- | juick-server/src/test/java/com/juick/server/tests/ServerTests.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-server/src/test/java/com/juick/server/tests/ServerTests.java b/juick-server/src/test/java/com/juick/server/tests/ServerTests.java index 3c12de40..d3e7b7a5 100644 --- a/juick-server/src/test/java/com/juick/server/tests/ServerTests.java +++ b/juick-server/src/test/java/com/juick/server/tests/ServerTests.java @@ -909,7 +909,7 @@ public class ServerTests { assertThat(lastRead.apply(ugnich, mid), is(freefdrid)); privacyQueriesService.blacklistUser(ugnich, freefd); int newfreefdrid = messagesService.createReply(mid, 0, freefd, "from ban", null); - serverManager.onApplicationEvent(new MessageEvent(this, messagesService.getReply(mid, newfreefdrid), + serverManager.processMessageEvent(new MessageEvent(this, messagesService.getReply(mid, newfreefdrid), Collections.emptyList())); assertThat(lastRead.apply(ugnich, mid), is(newfreefdrid)); privacyQueriesService.blacklistUser(ugnich, freefd); |