Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Merge branch 'master' into adyen_lock_checkout_complete
Maciej Korycinski5893575a47db
diff --cc saleor/checkout/tests/test_checkout.pyindex 20f894fa8a,a36f94728a..d31e468b20--- a/saleor/checkout/tests/test_checkout.py+++ b/saleor/checkout/tests/test_checkout.py@@@ -1467,3 -1491,26 +1467,25 @@@ def test_cancel_active_payments(checkou# thenassert checkout.payments.filter(is_active=True).count() == 0+++ def test_create_order_with_variant_tracking_false(+ checkout, customer_user, variant_without_inventory_tracking+ ):+ variant = variant_without_inventory_tracking+ checkout.user = customer_user+ checkout.billing_address = customer_user.default_billing_address+ checkout.shipping_address = customer_user.default_billing_address++ checkout.tracking_code = ""++ checkout.redirect_url = "https://www.example.com"+ checkout.save()+ add_variant_to_checkout(checkout, variant, 10, check_quantity=False)++ order_data = prepare_order_data(- checkout=checkout, lines=list(checkout), tracking_code="", discounts=None++ checkout=checkout, lines=list(checkout), discounts=None+ )++ order_1 = create_order(- checkout=checkout,- order_data=order_data,- user=customer_user,- redirect_url="https://www.example.com",++ checkout=checkout, order_data=order_data, user=customer_user,+ )+ assert order_1.checkout_token == checkout.token