diff options
Diffstat (limited to 'juick-server/src/test/java/com/juick/server/tests')
-rw-r--r-- | juick-server/src/test/java/com/juick/server/tests/MessagesTests.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-server/src/test/java/com/juick/server/tests/MessagesTests.java b/juick-server/src/test/java/com/juick/server/tests/MessagesTests.java index dc7d1742..b9bed8f1 100644 --- a/juick-server/src/test/java/com/juick/server/tests/MessagesTests.java +++ b/juick-server/src/test/java/com/juick/server/tests/MessagesTests.java @@ -127,7 +127,7 @@ public class MessagesTests extends AbstractJUnit4SpringContextTests { public void testAllUnAuthorized() throws Exception { mockMvc.perform(get("/")) - .andExpect(status().is4xxClientError()); + .andExpect(status().isMovedPermanently()); mockMvc.perform(get("/auth")) .andExpect(status().is4xxClientError()); |