aboutsummaryrefslogtreecommitdiff
path: root/test/mastodon-profile-tests.el
diff options
context:
space:
mode:
authormarty hiatt <martianhiatus [a t] riseup [d o t] net>2022-09-12 22:36:58 +0200
committermarty hiatt <martianhiatus [a t] riseup [d o t] net>2022-09-12 22:39:30 +0200
commitd73436bd148a8c73c6a63eb65c4026b3dbfa0591 (patch)
tree44ba9f1e598c57820be4d87925e23876cbce4a43 /test/mastodon-profile-tests.el
parent4c254408ed54dbe7a579b3e2cd6be6f26b56d346 (diff)
add mock to fix author buffer test and notifs-get
Diffstat (limited to 'test/mastodon-profile-tests.el')
-rw-r--r--test/mastodon-profile-tests.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/mastodon-profile-tests.el b/test/mastodon-profile-tests.el
index 817e386..640afb7 100644
--- a/test/mastodon-profile-tests.el
+++ b/test/mastodon-profile-tests.el
@@ -246,6 +246,8 @@ content generation in the function under test."
(mock (shr-render-region * *) => nil)
;; Don't perform the actual update call at the end.
;;(mock (mastodon-tl--timeline *))
+ (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 ""))
(let ((mastodon-tl--show-avatars t)
(mastodon-tl--display-media-p t)