ConversationControllerTest: fix test
authorAlibek Omarov <a1ba.omarov@gmail.com>
Sun, 18 Oct 2020 15:58:06 +0000 (15:58 +0000)
committerGitea <gitea@fake.local>
Fri, 30 Oct 2020 11:58:51 +0000 (12:58 +0100)
test/pleroma/web/mastodon_api/controllers/conversation_controller_test.exs

index b23b22752013359765111d5d867310491f2e429b..afc24027b670eae6ec1f97bced195d4b2d1785c9 100644 (file)
@@ -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)