Skip to content

Commit

Permalink
test: Fixed set_permission_test
Browse files Browse the repository at this point in the history
Added account_id parameter when checking account permissions
  • Loading branch information
mike-pisman committed Oct 17, 2023
1 parent 6ffa917 commit b68a4b1
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_2_workspaces.py
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,7 @@ async def test_set_permissions(client_test: AsyncClient):

# Now the member should be able to get their policy information
response = await client_test.get(f"/workspaces/{workspace.id}/policies",
params={"account_id": str(accounts[1].id)},
headers={"Authorization": f"Bearer {accounts[1].token}"})
assert response.status_code == status.HTTP_200_OK
response = response.json()
Expand Down

0 comments on commit b68a4b1

Please sign in to comment.