diff options
author | Johnson Denen <johnson.denen@gmail.com> | 2017-04-23 09:28:14 -0400 |
---|---|---|
committer | Johnson Denen <johnson.denen@gmail.com> | 2017-04-23 11:09:06 -0400 |
commit | cf814e11bdb9c3f7a8b4aeed61d429a28a4d66cb (patch) | |
tree | 459183e386e4136efa476d20e82f9f89351d6d71 /test | |
parent | 993fbec64edf128ba9e5a1aa61f93c385fe3be31 (diff) |
Group API endpoint function with mastodon-http
Diffstat (limited to 'test')
-rw-r--r-- | test/mastodon-client-tests.el | 2 |
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") |