1
0
Fork 1
mirror of https://akkoma.dev/AkkomaGang/akkoma.git synced 2024-11-18 02:49:18 +00:00

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

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)