logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git
commit: 390a12d4c892e58e12546a78bc02dcc0e3a3484b
parent 241bd061fc60a5c90c172f46f3b4e576ba660aaf
Author: Alibek Omarov <a1ba.omarov@gmail.com>
Date:   Sun, 18 Oct 2020 15:58:06 +0000

ConversationControllerTest: fix test

Diffstat:

Mtest/pleroma/web/mastodon_api/controllers/conversation_controller_test.exs3++-
1 file changed, 2 insertions(+), 1 deletion(-)

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