1
0
Fork 0
mirror of https://github.com/actix/actix-web.git synced 2024-06-02 21:39:26 +00:00

fix: added unwrap to test of add_cookie()

This commit is contained in:
Sebastian Detert 2023-12-04 23:04:48 +01:00
parent 0fee4711c7
commit 428467576e

View file

@ -239,6 +239,7 @@ mod tests {
.to_string()
.customize()
.add_cookie(&Cookie::new("name", "value"))
.unwrap()
.respond_to(&req);
assert_eq!(res.status(), StatusCode::OK);