Commit 1042c30f authored by a1batross's avatar a1batross Committed by Gitea
Browse files

ConversationViewTest: fix test

parent d63ec02f
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment