Skip to content
Snippets Groups Projects
Commit 3cbbe6d2 authored by Daniel Gerhardt's avatar Daniel Gerhardt
Browse files

Fix test for logout redirection

Test was broken by
7d530139.
parent 17254665
Branches
Tags
No related merge requests found
...@@ -103,7 +103,7 @@ public class LoginControllerTest { ...@@ -103,7 +103,7 @@ public class LoginControllerTest {
@Test @Test
public void testLogoutWithoutRedirect() throws Exception { public void testLogoutWithoutRedirect() throws Exception {
mockMvc.perform(get("/logout")) mockMvc.perform(get("/logout"))
.andExpect(status().isTemporaryRedirect()) .andExpect(status().is3xxRedirection())
.andExpect(redirectedUrl("/")); .andExpect(redirectedUrl("/"));
} }
} }
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment