mirror of https://github.com/fafhrd91/actix-web
fix: added unwrap to test of add_cookie()
This commit is contained in:
parent
0fee4711c7
commit
428467576e
|
@ -239,6 +239,7 @@ mod tests {
|
||||||
.to_string()
|
.to_string()
|
||||||
.customize()
|
.customize()
|
||||||
.add_cookie(&Cookie::new("name", "value"))
|
.add_cookie(&Cookie::new("name", "value"))
|
||||||
|
.unwrap()
|
||||||
.respond_to(&req);
|
.respond_to(&req);
|
||||||
|
|
||||||
assert_eq!(res.status(), StatusCode::OK);
|
assert_eq!(res.status(), StatusCode::OK);
|
||||||
|
|
Loading…
Reference in New Issue