From: Alibek Omarov Date: Sun, 18 Oct 2020 19:12:42 +0000 (+0000) Subject: ConversationViewTest: fix test #2 X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=630eb0f939013db721c78e9b33e4e8bdc8232834;p=akkoma ConversationViewTest: fix test #2 --- diff --git a/test/pleroma/web/mastodon_api/views/conversation_view_test.exs b/test/pleroma/web/mastodon_api/views/conversation_view_test.exs index bd58fb254..81a471cb5 100644 --- a/test/pleroma/web/mastodon_api/views/conversation_view_test.exs +++ b/test/pleroma/web/mastodon_api/views/conversation_view_test.exs @@ -37,7 +37,7 @@ defmodule Pleroma.Web.MastodonAPI.ConversationViewTest 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