Skip to content

Commit

Permalink
Merge pull request #288 from openimis/release/24.04
Browse files Browse the repository at this point in the history
MERGING release/24.04 into develop
  • Loading branch information
delcroip committed May 1, 2024
2 parents 6265298 + c39ef5b commit 4e67507
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/models/openimis_graphql_test_case.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ def send_mutation_raw(self, mutation_raw, token,variables_param = None, follow
content = json.loads(response.content)

if follow:
return self.get_mutation_result(content['data']['updateProduct']['clientMutationId'],token)
return self.get_mutation_result(content['data'][mutation_type]['clientMutationId'],token)
else:
return json.loads(response.content)

Expand All @@ -116,7 +116,7 @@ def send_mutation(self, mutation_type, input_params,token, follow = True, raw =
self.assertResponseNoErrors(response)
content =json.loads(response.content)
if follow:
return self.get_mutation_result(content['data']['createBenefitPlan']['internalId'],token, internal = True)
return self.get_mutation_result(content['data'][mutation_type]['internalId'],token, internal = True)
else:
return content

Expand Down

0 comments on commit 4e67507

Please sign in to comment.