1
0
Fork 1
mirror of https://akkoma.dev/AkkomaGang/akkoma.git synced 2024-12-25 04:53:06 +00:00

ConversationViewTest: fix test

This commit is contained in:
Alibek Omarov 2020-10-30 13:37:15 +01:00 committed by Gitea
parent d63ec02f31
commit 1042c30fa5

View file

@ -36,10 +36,10 @@ test "represents a Mastodon Conversation entity" do
assert conversation.id == participation.id |> to_string()
assert conversation.last_status.id == activity.id
assert conversation.last_status.account.id == user.id
account_ids = Enum.map(conversation.accounts, & &1.id)
assert length(conversation.accounts) == 2
assert user.id in account_ids
assert length(conversation.accounts) == 1
assert other_user.id in account_ids
assert conversation.last_status.pleroma.direct_conversation_id == participation.id
end