fix tests, default redirect to linz kiosk

This commit is contained in:
philipp 2023-08-05 13:01:01 +02:00
parent 23844243b8
commit 351ba1ba4e

View File

@ -246,7 +246,7 @@ mod test {
let response = req.dispatch().await; let response = req.dispatch().await;
assert_eq!(response.status(), Status::SeeOther); assert_eq!(response.status(), Status::SeeOther);
assert_eq!(response.headers().get("Location").next(), Some("/log")); assert_eq!(response.headers().get("Location").next(), Some("/log/Linz"));
let req = client.get("/log"); let req = client.get("/log");
let response = req.dispatch().await; let response = req.dispatch().await;