Skip to content

Commit 571fd9b

Browse files
committed
chore: fixing tests
1 parent 3710043 commit 571fd9b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

claim_sampling/tests.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ def _set_claim_as_valuated(cls, claim, user, is_process=False):
168168
def test_mutation_create_claim( self):
169169

170170
percentage_for_sample = 20
171-
response = self.query(f'''
171+
mutation = f'''
172172
mutation {{
173173
createClaimSamplingBatch(
174174
input: {{
@@ -182,7 +182,9 @@ def test_mutation_create_claim( self):
182182
internalId
183183
}}
184184
}}
185-
''', headers={"HTTP_AUTHORIZATION": f"Bearer {self.admin_token}"})
185+
'''
186+
response = self.send_mutation_raw(mutation,self.admin_token )
187+
186188

187189
claim_sampling = ClaimSamplingBatch.objects.first()
188190
self.assertIsNotNone(claim_sampling)

0 commit comments

Comments
 (0)