aboutsummaryrefslogtreecommitdiff
path: root/test/mastodon-toot-tests.el
diff options
context:
space:
mode:
authorJohnson Denen <johnson.denen@gmail.com>2017-04-23 00:51:49 -0400
committerJohnson Denen <johnson.denen@gmail.com>2017-04-23 11:09:06 -0400
commit950a71a7e89efe48804a89322f9a974610d40770 (patch)
treed68e672d8e7df9a4eb3f34ef6921aa49fce80978 /test/mastodon-toot-tests.el
parent949912d793cc8b80e6acb0978268405dc21a13e9 (diff)
Rewrite mastodon-auth
- Remove client functions - Use mastodon-http--post - No more callback spaghetti
Diffstat (limited to 'test/mastodon-toot-tests.el')
-rw-r--r--test/mastodon-toot-tests.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/mastodon-toot-tests.el b/test/mastodon-toot-tests.el
index eae9e89..ca04ae8 100644
--- a/test/mastodon-toot-tests.el
+++ b/test/mastodon-toot-tests.el
@@ -10,7 +10,7 @@
(stub mastodon--api-for => "https://instance/api/v/statuses")
(stub buffer-string => "This is a test toot")
(stub kill-buffer-and-window)
- (stub mastodon--access-token => "access-token-string")
+ (stub mastodon-auth--access-token => "access-token-string")
(mock (mastodon--http-post "https://instance/api/v/statuses"
'mastodon-toot--send-triage
'(("status" . "This is a test toot"))