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