aboutsummaryrefslogtreecommitdiff
path: root/test/mastodon-notifications-tests.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2022-09-13 12:17:24 +0200
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2022-09-13 12:17:24 +0200
commit946758ebf2fb9ffc8773c2fa072c79fea143d24c (patch)
tree9198d0a08eb350f93f3fb5f732b4b6062101eec0 /test/mastodon-notifications-tests.el
parentf268afe2d4e00482fc7612d312eb7a744bd8eb7b (diff)
parent154d984a7af43b5e0caa9f3df7ca49f0def1dab1 (diff)
Merge branch 'develop' into update-meta-fields
Diffstat (limited to 'test/mastodon-notifications-tests.el')
-rw-r--r--test/mastodon-notifications-tests.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/mastodon-notifications-tests.el b/test/mastodon-notifications-tests.el
index f5cc4c5..7c87933 100644
--- a/test/mastodon-notifications-tests.el
+++ b/test/mastodon-notifications-tests.el
@@ -187,7 +187,10 @@
"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-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))))
(defun mastodon-notifications--test-type (fun sample)