From c5d560428270dd294083f748a186d2d591fe0941 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Wed, 25 Apr 2018 19:30:55 +0300 Subject: www: redirect to thread after post --- juick-www/src/test/java/com/juick/WebAppTests.java | 1 - 1 file changed, 1 deletion(-) (limited to 'juick-www/src/test/java/com/juick/WebAppTests.java') diff --git a/juick-www/src/test/java/com/juick/WebAppTests.java b/juick-www/src/test/java/com/juick/WebAppTests.java index 39e2b70e..9fb214ea 100644 --- a/juick-www/src/test/java/com/juick/WebAppTests.java +++ b/juick-www/src/test/java/com/juick/WebAppTests.java @@ -239,7 +239,6 @@ public class WebAppTests { } @Test public void postMessageTests() throws Exception { - //assertThat(xmpp.getInConnections().size(), is(0)); mockMvc.perform(post("/post2").param("body", "yo")).andExpect(redirectedUrl("http://localhost/login")); MvcResult loginResult = mockMvc.perform(post("/login") .param("username", ugnichName) -- cgit v1.2.3