fix(ui): Startadresse / leitet zur Weboberfläche

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GmHhg3bfByVgQ9z7CGCSGc
This commit is contained in:
2026-11-16 09:41:58 +01:00
parent 99b8dd5832
commit 6fe0bbce0d
2 changed files with 5 additions and 0 deletions

View File

@ -1040,6 +1040,9 @@ async fn oberflaeche_ohne_sitzung_leitet_zur_anmeldung_und_teile_geben_401() {
assert_eq!(headers["location"], "/ui/login", "{path}");
}
assert_eq!(ui_get(&gw, "/ui/teil/uebersicht", None).await.0, 401);
let (status, headers, _) = ui_get(&gw, "/", None).await;
assert_eq!(status, 303);
assert_eq!(headers["location"], "/ui");
let (status, headers, body) = ui_get(&gw, "/ui/login", None).await;
assert_eq!(status, 200);
let csp = headers["content-security-policy"].to_str().unwrap();