From 6ce68d8222f38f12255c9092e34451e0ff3bc477 Mon Sep 17 00:00:00 2001 From: Yash Pankhania Date: Mon, 24 Jun 2024 01:49:56 +1000 Subject: [PATCH] fixed broken test --- test/test_graphql_mutations.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/test/test_graphql_mutations.py b/test/test_graphql_mutations.py index 135384165..2b8dfdd11 100644 --- a/test/test_graphql_mutations.py +++ b/test/test_graphql_mutations.py @@ -794,20 +794,18 @@ async def test_update_project_members(self): query = gql( """ - mutation UpdateProjectMembers($project: String!, $members: [ProjectMemberUpdateInput!]!, $readonly: Boolean!) { + mutation UpdateProjectMembers($members: [ProjectMemberUpdateInput!]!) { project { - updateProjectMembers(project: $project, members: $members, readonly: $readonly) + updateProjectMembers(members: $members) } } """ ) variables = { - 'project': 'Test Project', 'members': [ {'member': 'member1', 'roles': ['reader', 'writer']}, {'member': 'member2', 'roles': ['contributor']}, ], - 'readonly': True, } response = await self.run_graphql_query_async(query, variables=variables) assert response