Skip to content

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

Merge branch 'master' of github.com:mirumee/saleor into feature/create_plugins_id

Damian Wysockidd6174988766
diff --cc tests/api/benchmark/conftest.py
index a49aaefcee,414a67ac64..dde3149eeb
--- a/tests/api/benchmark/conftest.py
+++ b/tests/api/benchmark/conftest.py
@@@ -140,12 -140,9 +140,12 @@@ def checkout_with_billing_address(check
def checkout_with_charged_payment(checkout_with_billing_address):
checkout = checkout_with_billing_address
- taxed_total = calculations.checkout_total(checkout)
+ taxed_total = calculations.checkout_total(checkout=checkout, lines=list(checkout))
payment = Payment.objects.create(
- gateway="Dummy", is_active=True, total=taxed_total.gross.amount, currency="USD"
+ gateway="mirumee.payments.dummy",
+ is_active=True,
+ total=taxed_total.gross.amount,
+ currency="USD",
)
payment.charge_status = ChargeStatus.FULLY_CHARGED