summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlibek Omarov <a1ba.omarov@gmail.com>2020-10-18 19:12:42 +0000
committerGitea <gitea@fake.local>2020-10-30 12:58:51 +0100
commit630eb0f939013db721c78e9b33e4e8bdc8232834 (patch)
tree9203657e1372b0b8bbeab5332e4789234c2f988e /test
parent149589c842e677a082436db927834dd6f1b10cb5 (diff)
downloadpleroma-630eb0f939013db721c78e9b33e4e8bdc8232834.tar.gz
pleroma-630eb0f939013db721c78e9b33e4e8bdc8232834.zip
ConversationViewTest: fix test #2
Diffstat (limited to 'test')
-rw-r--r--test/pleroma/web/mastodon_api/views/conversation_view_test.exs2
1 files changed, 1 insertions, 1 deletions
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