Compare commits
2 Commits
f5bd470dac
...
30105e7bbd
Author | SHA1 | Date | |
---|---|---|---|
30105e7bbd | |||
a95ff3657f |
@ -217,7 +217,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("/"));
|
assert_eq!(response.headers().get("Location").next(), Some("/planned"));
|
||||||
|
|
||||||
let flash_cookie = response
|
let flash_cookie = response
|
||||||
.cookies()
|
.cookies()
|
||||||
|
Loading…
Reference in New Issue
Block a user