logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git
commit: 630eb0f939013db721c78e9b33e4e8bdc8232834
parent 149589c842e677a082436db927834dd6f1b10cb5
Author: Alibek Omarov <a1ba.omarov@gmail.com>
Date:   Sun, 18 Oct 2020 19:12:42 +0000

ConversationViewTest: fix test #2

Diffstat:

Mtest/pleroma/web/mastodon_api/views/conversation_view_test.exs2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 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