Merge commit 'c4656a88806a92cb59b2e588035a4124854feb92' into work/reports-ui

This commit is contained in:
sechmachine
2026-08-15 01:23:10 +07:00
4 changed files with 83 additions and 11 deletions
@@ -72,6 +72,10 @@ class AuthenticationWebIntegrationTest {
.andReturn();
var session = (MockHttpSession) login.getRequest().getSession(false);
mockMvc.perform(get("/").session(session))
.andExpect(status().is3xxRedirection())
.andExpect(redirectedUrl("/dashboard"));
mockMvc.perform(post("/logout").session(session).with(csrf()))
.andExpect(status().is3xxRedirection())
.andExpect(redirectedUrl("/login?logout"))