ConversationControllerTest: fix test

This commit is contained in:
Alibek Omarov 2020-10-18 15:58:06 +00:00 committed by Gitea
parent 241bd061fc
commit 390a12d4c8
1 changed files with 2 additions and 1 deletions

View File

@ -54,7 +54,8 @@ test "returns correct conversations", %{
] = 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)