test(test_proxy_server.py): fix test to specify user role

This commit is contained in:
Krrish Dholakia 2024-08-21 08:37:04 -07:00
parent a61f3e7656
commit 5ba517819c
2 changed files with 3 additions and 2 deletions

View file

@ -909,7 +909,7 @@ async def test_create_team_member_add(prisma_client, new_member_method):
await team_member_add(
data=team_member_add_request,
user_api_key_dict=UserAPIKeyAuth(),
user_api_key_dict=UserAPIKeyAuth(user_role="proxy_admin"),
http_request=Request(
scope={"type": "http", "path": "/user/new"},
),