ConversationControllerTest: fix test
This commit is contained in:
parent
241bd061fc
commit
390a12d4c8
1 changed files with 2 additions and 1 deletions
|
@ -54,7 +54,8 @@ test "returns correct conversations", %{
|
||||||
] = response
|
] = response
|
||||||
|
|
||||||
account_ids = Enum.map(res_accounts, & &1["id"])
|
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_two.id in account_ids
|
||||||
assert user_three.id in account_ids
|
assert user_three.id in account_ids
|
||||||
assert is_binary(res_id)
|
assert is_binary(res_id)
|
||||||
|
|
Loading…
Reference in a new issue