fix tests, default redirect to linz kiosk
This commit is contained in:
parent
23844243b8
commit
351ba1ba4e
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user