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-21 10:20:59 +0100
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2022-11-21 10:20:59 +0100
commitabbdef12e38c97e571ae8f664596fcf931cb4292 (patch)
treea75751f73d085f8130ac4c5b181ae8c5cc8a31e5 /test/mastodon-notifications-tests.el
parent583dad59590bd6423138053b67961cf39fe81d02 (diff)
parent6e75db20584272ee4a9954129359f5e19d737d75 (diff)
Merge branch 'develop'
Diffstat (limited to 'test/mastodon-notifications-tests.el')
-rw-r--r--test/mastodon-notifications-tests.el8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/mastodon-notifications-tests.el b/test/mastodon-notifications-tests.el
index 7c87933..bc70e49 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"))
+ (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.