ConversationViewTest: fix test #2

This commit is contained in:
Alibek Omarov 2020-10-18 19:12:42 +00:00 committed by Gitea
parent 149589c842
commit 630eb0f939

View file

@ -37,7 +37,7 @@ test "represents a Mastodon Conversation entity" do
assert conversation.id == participation.id |> to_string()
assert conversation.last_status.id == activity.id
account_ids = Enum.map(conversation.accounts, & &1["id"])
account_ids = Enum.map(conversation.accounts, & &1.id)
assert length(conversation.accounts) == 2
assert user.id in account_ids
assert other_user.id in account_ids