From a51d0b0385c60728a2d2477edef1180761ff64e7 Mon Sep 17 00:00:00 2001 From: marty hiatt Date: Sat, 3 Sep 2022 16:45:45 +0200 Subject: fix http-get-retrieves test --- test/mastodon-http-tests.el | 4 ++-- 1 file 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." -- cgit v1.2.3