aboutsummaryrefslogtreecommitdiff
path: root/test/mastodon-client-tests.el
diff options
context:
space:
mode:
authorJohnson Denen <johnson.denen@gmail.com>2017-04-23 09:28:14 -0400
committerJohnson Denen <johnson.denen@gmail.com>2017-04-23 11:09:06 -0400
commitcf814e11bdb9c3f7a8b4aeed61d429a28a4d66cb (patch)
tree459183e386e4136efa476d20e82f9f89351d6d71 /test/mastodon-client-tests.el
parent993fbec64edf128ba9e5a1aa61f93c385fe3be31 (diff)
Group API endpoint function with mastodon-http
Diffstat (limited to 'test/mastodon-client-tests.el')
-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")