From afdba016ef43de75ee9aef715c9a460ab08e90d8 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Fri, 19 Oct 2018 09:58:07 +0300 Subject: drop pm_streams --- juick-server/src/test/java/com/juick/server/tests/ServerTests.java | 2 -- 1 file changed, 2 deletions(-) (limited to 'juick-server/src/test/java') 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 9057aced..a6750644 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 @@ -1734,7 +1734,6 @@ public class ServerTests { @Test public void pms() throws Exception { jdbcTemplate.execute("DELETE FROM pm"); - jdbcTemplate.execute("DELETE FROM pm_streams"); jdbcTemplate.execute("DELETE FROM bl_users"); CommandResult res = commandsManager.processCommand(ugnich, "@freefd DICK", emptyUri); assertThat(res.getNewMessage(), is(Optional.empty())); @@ -1745,6 +1744,5 @@ public class ServerTests { .andReturn(); PrivateChats chats = jsonMapper.readValue(result.getResponse().getContentAsString(), PrivateChats.class); assertThat(chats.getUsers().size(), is(1)); - assertThat(chats.getUsers().get(0).getUnreadCount(), is(1)); } } -- cgit v1.2.3