Skip to content

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

Fix tests in payment/test_dummy

Maciej Korycinski62d98a30a792
diff --git a/tests/gateway/test_dummy.py b/tests/gateway/test_dummy.py
index 2099e3438b..75bbc9e115 100644
--- a/tests/gateway/test_dummy.py
+++ b/tests/gateway/test_dummy.py
@@ -107,7 +107,7 @@ def test_void_gateway_error(payment_txn_preauth, monkeypatch):
@pytest.mark.parametrize(
"amount, charge_status",
- [(80, ChargeStatus.FULLY_CHARGED), (70, ChargeStatus.PARTIALLY_CHARGED)],
+ [("98.40", ChargeStatus.FULLY_CHARGED), (70, ChargeStatus.PARTIALLY_CHARGED)],
)
def test_capture_success(amount, charge_status, payment_txn_preauth):
txn = gateway_capture(payment=payment_txn_preauth, amount=Decimal(amount))