aboutsummaryrefslogtreecommitdiff
path: root/test/web/mastodon_api
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2020-07-03 13:07:33 +0200
committerlain <lain@soykaf.club>2020-07-03 13:07:33 +0200
commit3250228be9719b0afa24c97b64f56d2275c4fe67 (patch)
tree33ea7f457e06febd5b774b58f1121c47c812dee4 /test/web/mastodon_api
parent98bfdba108d4213eea82dc4d63edb8bb834118fb (diff)
downloadpleroma-3250228be9719b0afa24c97b64f56d2275c4fe67.tar.gz
AccountView: Add 'accepts_chat_messages' to view.
Diffstat (limited to 'test/web/mastodon_api')
-rw-r--r--test/web/mastodon_api/views/account_view_test.exs6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/web/mastodon_api/views/account_view_test.exs b/test/web/mastodon_api/views/account_view_test.exs
index 80b1f734c..3234a26a2 100644
--- a/test/web/mastodon_api/views/account_view_test.exs
+++ b/test/web/mastodon_api/views/account_view_test.exs
@@ -85,7 +85,8 @@ defmodule Pleroma.Web.MastodonAPI.AccountViewTest do
hide_followers_count: false,
hide_follows_count: false,
relationship: %{},
- skip_thread_containment: false
+ skip_thread_containment: false,
+ accepts_chat_messages: false
}
}
@@ -162,7 +163,8 @@ defmodule Pleroma.Web.MastodonAPI.AccountViewTest do
hide_followers_count: false,
hide_follows_count: false,
relationship: %{},
- skip_thread_containment: false
+ skip_thread_containment: false,
+ accepts_chat_messages: false
}
}