diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2020-02-14 15:00:27 +0100 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2020-02-14 15:15:10 +0100 |
commit | cd83b0f4c30f21d23bc9046a73c7058c450007e3 (patch) | |
tree | f37eb9c94d6d6b9ae064f7a978009af43b710595 /tests | |
parent | 036fd6b2ea078205f625595cd481cdead307e79d (diff) | |
download | rust-zotapi-cd83b0f4c30f21d23bc9046a73c7058c450007e3.tar.gz rust-zotapi-cd83b0f4c30f21d23bc9046a73c7058c450007e3.tar.bz2 rust-zotapi-cd83b0f4c30f21d23bc9046a73c7058c450007e3.zip |
Update abook with struct and request object.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/zotapi.rs | 2 |
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(); } |