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:46:00 +0200
commitc410a97146c0bf577e68bf21349edd43862b2a0d (patch)
treee26862f73853a2eb55f14e1eb3d15f8d93421629 /test/mastodon-http-tests.el
parent809a9bd27c9a7c320a3daffa9ea8679442850597 (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."