aboutsummaryrefslogtreecommitdiff
path: root/test/mastodon-notifications-tests.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2022-11-24 15:59:42 +0100
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2022-11-24 15:59:42 +0100
commit99c1c63c020de258e48f6636b563421187fb6dac (patch)
treea5b2eaf2a078ced0898658f8406d2ce356101f72 /test/mastodon-notifications-tests.el
parent69c817d1a901f0aaa871f2679659f64fc438c40b (diff)
parent54bf253a26c899a21dec819033b51831684a6eb5 (diff)
Merge branch 'params-always-in-http-el' into develop
Diffstat (limited to 'test/mastodon-notifications-tests.el')
-rw-r--r--test/mastodon-notifications-tests.el6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/mastodon-notifications-tests.el b/test/mastodon-notifications-tests.el
index 1275c72..942a7cb 100644
--- a/test/mastodon-notifications-tests.el
+++ b/test/mastodon-notifications-tests.el
@@ -187,9 +187,9 @@
"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))))