Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Fix tests

Artur Smęt31a9c551b36f
diff --git a/tests/api/test_checkout.py b/tests/api/test_checkout.py
index cfe4099d48..db0fdc4f78 100644
--- a/tests/api/test_checkout.py
+++ b/tests/api/test_checkout.py
@@ -373,10 +373,10 @@ def test_checkout_email_update(user_api_client, cart_with_item):
@pytest.mark.integration
def test_checkout_complete(
user_api_client, cart_with_item, payment_method_dummy, address,
- shipping_price):
+ shipping_method):
checkout = cart_with_item
checkout.shipping_address = address
- checkout.shipping_method = shipping_price
+ checkout.shipping_method = shipping_method
checkout.save()
total = checkout.get_total().gross
payment_method = payment_method_dummy