aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/mastodon-client-tests.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/mastodon-client-tests.el b/test/mastodon-client-tests.el
index 73a3d7e..e1f92f8 100644
--- a/test/mastodon-client-tests.el
+++ b/test/mastodon-client-tests.el
@@ -3,7 +3,7 @@
(ert-deftest register ()
"Should POST to /apps."
(with-mock
- (mock (mastodon--api-for "apps") => "https://instance.url/api/v1/apps")
+ (mock (mastodon-http--api "apps") => "https://instance.url/api/v1/apps")
(mock (mastodon-http--post "https://instance.url/api/v1/apps"
'(("client_name" . "mastodon.el")
("redirect_uris" . "urn:ietf:wg:oauth:2.0:oob")