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:
parent
0fee4711c7
commit
428467576e
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue