aboutsummaryrefslogtreecommitdiff
path: root/test/mastodon-http-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-http-tests.el
parent949912d793cc8b80e6acb0978268405dc21a13e9 (diff)
Rewrite mastodon-auth
- Remove client functions - Use mastodon-http--post - No more callback spaghetti
Diffstat (limited to 'test/mastodon-http-tests.el')
-rw-r--r--test/mastodon-http-tests.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/mastodon-http-tests.el b/test/mastodon-http-tests.el
index 06b92d5..972cedb 100644
--- a/test/mastodon-http-tests.el
+++ b/test/mastodon-http-tests.el
@@ -5,5 +5,5 @@
(let ((callback-double (lambda () "double")))
(with-mock
(mock (url-retrieve-synchronously "https://foo.bar/baz"))
- (mock (mastodon--access-token) => "test-token")
+ (mock (mastodon-auth--access-token) => "test-token")
(mastodon-http--get "https://foo.bar/baz"))))