Skip to content

Commit

Permalink
fixed broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
nevoodoo committed Jun 23, 2024
1 parent 8623a73 commit 6ce68d8
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions test/test_graphql_mutations.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 6ce68d8

Please sign in to comment.