diff options
Diffstat (limited to 'test/mastodon-http-tests.el')
-rw-r--r-- | test/mastodon-http-tests.el | 4 |
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." |