diff --git a/src/test.rs b/src/test.rs index 5444726e..5b44d1c7 100644 --- a/src/test.rs +++ b/src/test.rs @@ -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); /// } /// ```