aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/mastodon-profile-tests.el8
1 files changed, 5 insertions, 3 deletions
diff --git a/test/mastodon-profile-tests.el b/test/mastodon-profile-tests.el
index f603203..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"))
@@ -265,12 +267,12 @@ content generation in the function under test."
" ------------\n"
"<p>Developer of Mastodon and administrator of mastodon.social. I post service announcements, development updates, and personal stuff.</p>\n"
"_ Patreon __ :: <a href=\"https://www.patreon.com/mastodon\" rel=\"me nofollow noopener noreferrer\" target=\"_blank\"><span class=\"invisible\">https://www.</span><span class=\"\">patreon.com/mastodon</span><span class=\"invisible\"></span></a>_ Homepage _ :: <a href=\"https://zeonfederated.com\" rel=\"me nofollow noopener noreferrer\" target=\"_blank\"><span class=\"invisible\">https://</span><span class=\"\">zeonfederated.com</span><span class=\"invisible\"></span></a>\n"
+ "Joined March 2016"
+ "\n\n"
" ------------\n"
" TOOTS: 70741 | FOLLOWERS: 470905 | FOLLOWING: 451\n"
" ------------\n"
- "\n\n"
- "Joined March 2016"
- "\n\n"
+ "\n"
" ------------\n"
" TOOTS \n"
" ------------\n"