diff options
author | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2022-11-26 16:39:57 +0100 |
---|---|---|
committer | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2022-11-26 16:42:11 +0100 |
commit | 556a57c6e56e6c36145c14cab50f22775f7fbb95 (patch) | |
tree | ac8f9d0a985f5d845e651f76d0615aea9c8a78d6 /test/mastodon-notifications-tests.el | |
parent | 92f59ff56bf9264b3b1981d3d32cf9172a490ef0 (diff) | |
parent | 1f4870555241fcc55f6f2c2e2f6f64993ec2c3ad (diff) |
Merge branch 'develop'
Diffstat (limited to 'test/mastodon-notifications-tests.el')
-rw-r--r-- | test/mastodon-notifications-tests.el | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/mastodon-notifications-tests.el b/test/mastodon-notifications-tests.el index bc70e49..942a7cb 100644 --- a/test/mastodon-notifications-tests.el +++ b/test/mastodon-notifications-tests.el @@ -187,11 +187,11 @@ "Ensure get request format for notifictions is accurate." (let ((mastodon-instance-url "https://instance.url")) (with-mock - (mock (mastodon-http--get-json "https://instance.url/api/v1/notifications")) - (mock (mastodon-profile--fetch-server-account-settings) - => '(max_toot_chars 1312 privacy "public" display_name "Eugen" discoverable t locked :json-false bot :json-false sensitive :json-false language "")) + (mock (mastodon-http--get-json "https://instance.url/api/v1/notifications" nil)) + (mock (mastodon-profile--fetch-server-account-settings) + => '(max_toot_chars 1312 privacy "public" display_name "Eugen" discoverable t locked :json-false bot :json-false sensitive :json-false language "")) - (mastodon-notifications--get)))) + (mastodon-notifications-get)))) (defun mastodon-notifications--test-type (fun sample) "Test notification draw functions. |