diff options
author | Alibek Omarov <a1ba.omarov@gmail.com> | 2020-10-18 15:58:06 +0000 |
---|---|---|
committer | Gitea <gitea@fake.local> | 2020-10-30 12:58:51 +0100 |
commit | 390a12d4c892e58e12546a78bc02dcc0e3a3484b (patch) | |
tree | 0c6732ccb52e8ef96b5f09a817b205284327f907 | |
parent | 241bd061fc60a5c90c172f46f3b4e576ba660aaf (diff) | |
download | pleroma-390a12d4c892e58e12546a78bc02dcc0e3a3484b.tar.gz |
ConversationControllerTest: fix test
-rw-r--r-- | test/pleroma/web/mastodon_api/controllers/conversation_controller_test.exs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/pleroma/web/mastodon_api/controllers/conversation_controller_test.exs b/test/pleroma/web/mastodon_api/controllers/conversation_controller_test.exs index b23b22752..afc24027b 100644 --- a/test/pleroma/web/mastodon_api/controllers/conversation_controller_test.exs +++ b/test/pleroma/web/mastodon_api/controllers/conversation_controller_test.exs @@ -54,7 +54,8 @@ defmodule Pleroma.Web.MastodonAPI.ConversationControllerTest do ] = response account_ids = Enum.map(res_accounts, & &1["id"]) - assert length(res_accounts) == 2 + assert length(res_accounts) == 3 + assert user_one.id in account_ids assert user_two.id in account_ids assert user_three.id in account_ids assert is_binary(res_id) |