diff --git a/tests/app/organization/test_rest.py b/tests/app/organization/test_rest.py index 445a47297..5fa3eb091 100644 --- a/tests/app/organization/test_rest.py +++ b/tests/app/organization/test_rest.py @@ -831,7 +831,9 @@ def test_get_organization_users_returns_users_for_organization( ) assert len(response["data"]) == 2 - assert response["data"][0]["id"] == str(first.id) + response_ids = [response["data"][0]["id"], response["data"][0]["id"]] + assert str(first.id) in response_ids + assert str(second.id) in response_ids @freeze_time("2019-12-24 13:30")