Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Fix test_draft_order_update_emit_events (#18645) (#18649)
Iga Karbowiaka1bc6ba44cc9
diff --git a/saleor/graphql/order/tests/mutations/test_draft_order_update.py b/saleor/graphql/order/tests/mutations/test_draft_order_update.pyindex 3ed2b9430c..02776312e3 100644--- a/saleor/graphql/order/tests/mutations/test_draft_order_update.py+++ b/saleor/graphql/order/tests/mutations/test_draft_order_update.py@@ -3477,7 +3477,7 @@ def test_draft_order_update_emit_events(order.draft_save_billing_address = Trueorder.draft_save_shipping_address = Trueorder.voucher = voucher- order.voucher_code = voucher.codes.first().code+ order.voucher_code = "OLD_CODE"order.customer_note = "some note"order.redirect_url = "http://localhost:8000/redirect"order.external_reference = "some_reference_string"@@ -3520,12 +3520,12 @@ def test_draft_order_update_emit_events(assert graphql_address_data["lastName"] != order.billing_address.last_nameinput = {+ "voucherCode": voucher.codes.last().code,"billingAddress": graphql_address_data,"shippingAddress": graphql_address_data,"shippingMethod": new_shipping_method_id,"user": user_id,"userEmail": "new_" + order.user_email,- "voucherCode": voucher.codes.last().code,"customerNote": order.customer_note + "_new","redirectUrl": "https://www.example.com","externalReference": order.external_reference + "_new",