ConversationViewTest: fix test #2
This commit is contained in:
parent
149589c842
commit
630eb0f939
|
@ -37,7 +37,7 @@ test "represents a Mastodon Conversation entity" do
|
||||||
assert conversation.id == participation.id |> to_string()
|
assert conversation.id == participation.id |> to_string()
|
||||||
assert conversation.last_status.id == activity.id
|
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 length(conversation.accounts) == 2
|
||||||
assert user.id in account_ids
|
assert user.id in account_ids
|
||||||
assert other_user.id in account_ids
|
assert other_user.id in account_ids
|
||||||
|
|
Loading…
Reference in New Issue