mirror of
https://github.com/actix/actix-web.git
synced 2024-11-18 07:35:36 +00:00
updated legacy code in call_success example (#762)
This commit is contained in:
parent
bc58dbb2f5
commit
9bcd5d6664
1 changed files with 1 additions and 1 deletions
|
@ -133,7 +133,7 @@ where
|
|||
/// let req = test::TestRequest::with_uri("/test").to_request();
|
||||
///
|
||||
/// // 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);
|
||||
/// }
|
||||
/// ```
|
||||
|
|
Loading…
Reference in a new issue