summaryrefslogtreecommitdiff
path: root/test/web/mastodon_api
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2019-08-12 12:51:08 +0200
committerlain <lain@soykaf.club>2019-08-12 12:51:08 +0200
commit23c46f7e72701b773d87b825526450e5f4ec6322 (patch)
tree3f463132f9f299a44811ea04c085bfa30e1a469b /test/web/mastodon_api
parenta2b98f6d58218c5806247743aa0a2a600c9959ab (diff)
downloadpleroma-23c46f7e72701b773d87b825526450e5f4ec6322.tar.gz
pleroma-23c46f7e72701b773d87b825526450e5f4ec6322.zip
Conversations: Use 'recipients' for accounts in conversation view.
According to gargron, this is the intended usage.
Diffstat (limited to 'test/web/mastodon_api')
-rw-r--r--test/web/mastodon_api/conversation_view_test.exs6
1 files changed, 0 insertions, 6 deletions
diff --git a/test/web/mastodon_api/conversation_view_test.exs b/test/web/mastodon_api/conversation_view_test.exs
index e32cde5a8..27f668d9f 100644
--- a/test/web/mastodon_api/conversation_view_test.exs
+++ b/test/web/mastodon_api/conversation_view_test.exs
@@ -30,11 +30,5 @@ defmodule Pleroma.Web.MastodonAPI.ConversationViewTest do
assert [account] = conversation.accounts
assert account.id == other_user.id
-
- assert recipients = conversation.pleroma.recipients
- recipient_ids = recipients |> Enum.map(& &1.id)
-
- assert user.id in recipient_ids
- assert other_user.id in recipient_ids
end
end