mirror of https://github.com/fafhrd91/actix-web
updated legacy code in call_success example
This commit is contained in:
parent
a7fdac1043
commit
2cee8753fa
|
@ -133,7 +133,7 @@ where
|
||||||
/// let req = test::TestRequest::with_uri("/test").to_request();
|
/// let req = test::TestRequest::with_uri("/test").to_request();
|
||||||
///
|
///
|
||||||
/// // Call application
|
/// // Call application
|
||||||
/// let resp = test::call_succ_service(&mut app, req);
|
/// let resp = test::call_success(&mut app, req);
|
||||||
/// assert_eq!(resp.status(), StatusCode::OK);
|
/// assert_eq!(resp.status(), StatusCode::OK);
|
||||||
/// }
|
/// }
|
||||||
/// ```
|
/// ```
|
||||||
|
|
Loading…
Reference in New Issue