Saleor Core: the high performance, composable, headless commerce API.
Python cartcheckoutcommercecomposablee-commerceecommercegraphqlheadlessheadless-commercemultichannelomsorder-managementpaymentspimpythonshopshopping-cartstore
Fix test_payment_gateway_refund_payment_no_payment
IKarbowiakc9f76d51cc34
diff --git a/saleor/payment/gateways/authorize_net/tests/test_plugin.py b/saleor/payment/gateways/authorize_net/tests/test_plugin.pyindex e710b9b715..600253d2a4 100644--- a/saleor/payment/gateways/authorize_net/tests/test_plugin.py+++ b/saleor/payment/gateways/authorize_net/tests/test_plugin.py@@ -98,10 +98,11 @@ def test_payment_gateway_refund_payment()[email protected]("payment_id", [-1, None])def test_payment_gateway_refund_payment_no_payment(- authorize_net_plugin, dummy_payment_data+ payment_id, authorize_net_plugin, dummy_payment_data):- dummy_payment_data.payment_id = 100+ dummy_payment_data.payment_id = payment_idwith pytest.raises(PaymentError):authorize_net_plugin.refund_payment(dummy_payment_data, None)