Skip to content

Commit

Permalink
tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pcrespov committed Dec 9, 2024
1 parent d7ba2a2 commit 2fb361b
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -324,8 +324,7 @@ async def test_group_access_rights(
== f"/{API_VTAG}/groups/{assigned_group['gid']}/users"
)
for i, user in enumerate(users):
params = {"uid": user["id"]} if i % 2 == 0 else {"email": user["email"]}
resp = await client.post(f"{add_group_user_url}", json=params)
resp = await client.post(f"{add_group_user_url}", json={"uid": user["id"]})
data, error = await assert_status(resp, expected.no_content)

# 3. user 1 shall be a manager
Expand Down

0 comments on commit 2fb361b

Please sign in to comment.