aboutsummaryrefslogtreecommitdiff
path: root/juick-server/src/test/java/com/juick/server/tests/ServerTests.java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-10-19 09:58:07 +0300
committerGravatar Vitaly Takmazov2018-10-19 09:58:07 +0300
commitafdba016ef43de75ee9aef715c9a460ab08e90d8 (patch)
tree86b99914f1d833cc7e42caa1f391923db4cadb70 /juick-server/src/test/java/com/juick/server/tests/ServerTests.java
parent55b72013720e06835e273310f41c4926ffcd03d5 (diff)
drop pm_streams
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.java2
1 files changed, 0 insertions, 2 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 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));
}
}