diff options
author | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2022-11-22 11:46:15 +0100 |
---|---|---|
committer | marty hiatt <martianhiatus [a t] riseup [d o t] net> | 2022-11-22 11:46:15 +0100 |
commit | 9d1d2fc3746a87cf9e841da58a5c7641599650a0 (patch) | |
tree | 0fdd0d6cce2d09696ee6b071fde7986980f587b3 | |
parent | d84f6f5ef17320ef2312b4bb29e383014f36ee91 (diff) |
mock mastodon-profile--format-joined-date-string in profie test
-rw-r--r-- | test/mastodon-profile-tests.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/mastodon-profile-tests.el b/test/mastodon-profile-tests.el index edfecce..704f2ce 100644 --- a/test/mastodon-profile-tests.el +++ b/test/mastodon-profile-tests.el @@ -249,6 +249,8 @@ content generation in the function under test." (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-profile--format-joined-date-string *) => "Joined March 2016") + (let ((mastodon-tl--show-avatars t) (mastodon-tl--display-media-p t) (mastodon-instance-url "https://instance.url")) |