aboutsummaryrefslogtreecommitdiffstats
path: root/tests/zotapi.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/zotapi.rs')
-rw-r--r--tests/zotapi.rs2
1 files changed, 1 insertions, 1 deletions
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();
}