aboutsummaryrefslogtreecommitdiff
path: root/test/mastodon-http-tests.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2022-09-03 16:45:45 +0200
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2022-09-03 16:45:45 +0200
commita51d0b0385c60728a2d2477edef1180761ff64e7 (patch)
tree34f0435163147715c861561f5e650b84032e5ffc /test/mastodon-http-tests.el
parentcc6e4026e03e3c075ae670cd11f2a53981a830a8 (diff)
fix http-get-retrieves test
Diffstat (limited to 'test/mastodon-http-tests.el')
-rw-r--r--test/mastodon-http-tests.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/mastodon-http-tests.el b/test/mastodon-http-tests.el
index dc4aa76..57b52a4 100644
--- a/test/mastodon-http-tests.el
+++ b/test/mastodon-http-tests.el
@@ -53,9 +53,9 @@ Strict-Transport-Security: max-age=31536000
(ert-deftest mastodon-http--get-retrieves-endpoint ()
"Should make a `url-retrieve' of the given URL."
(with-mock
- (mock (mastodon-http--url-retrieve-synchronously "https://foo.bar/baz"))
+ (mock (mastodon-http--url-retrieve-synchronously "https://foo.bar/baz" nil))
(mock (mastodon-auth--access-token) => "test-token")
- (mastodon-http--get "https://foo.bar/baz")))
+ (mastodon-http--get "https://foo.bar/baz" nil)))
(ert-deftest mastodon-http--triage-success ()
"Should run success function for 200 HTML response."