From cd83b0f4c30f21d23bc9046a73c7058c450007e3 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Fri, 14 Feb 2020 15:00:27 +0100 Subject: Update abook with struct and request object. --- tests/zotapi.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/zotapi.rs b/tests/zotapi.rs index a405e35..cd127ac 100644 --- a/tests/zotapi.rs +++ b/tests/zotapi.rs @@ -232,7 +232,7 @@ fn fetch_xchan_by_guid() { #[test] fn fetch_connections() { let m = default_mock("GET", "/api/z/1.0/abook"); - let _res = zotapi::abook().fetch(&client()).unwrap(); + let _res = zotapi::Abook::z().fetch(&client()).unwrap(); m.assert(); } -- cgit v1.2.3