Fix tests
This commit is contained in:
parent
b572523a33
commit
13295e2d2e
|
|
@ -29,7 +29,6 @@ class Coupon(relay.ClientIDMutation):
|
|||
def mutate_and_get_payload(cls, root, info, **kwargs):
|
||||
coupon_code = kwargs.get('coupon_code_input').strip()
|
||||
hep_client = HepClient()
|
||||
return cls(success=True, errors=[])
|
||||
|
||||
try:
|
||||
hep_id = info.context.user.hep_id
|
||||
|
|
|
|||
|
|
@ -99,7 +99,7 @@
|
|||
"row_invoiced": 0,
|
||||
"row_total": 44.88,
|
||||
"row_total_incl_tax": 46,
|
||||
"sku": "978-3-0355-0708-9",
|
||||
"sku": "000-4-5678-9012-3",
|
||||
"store_id": 1,
|
||||
"tax_amount": 1.12,
|
||||
"tax_invoiced": 0,
|
||||
|
|
|
|||
|
|
@ -99,7 +99,7 @@
|
|||
"row_invoiced": 0,
|
||||
"row_total": 44.88,
|
||||
"row_total_incl_tax": 46,
|
||||
"sku": "000-4-5678-9012-3",
|
||||
"sku": "978-3-0355-1450-6",
|
||||
"store_id": 1,
|
||||
"tax_amount": 1.12,
|
||||
"tax_invoiced": 0,
|
||||
|
|
|
|||
Loading…
Reference in New Issue