Do not allow to cancel pending payments by default (Z#23179178)

This commit is contained in:
Raphael Michel
2025-02-03 17:07:19 +01:00
committed by GitHub
parent 34da20972e
commit 58db550e23
2 changed files with 10 additions and 3 deletions

View File

@@ -574,7 +574,7 @@ def test_pending_paypal_drop_fee(env, job):
env[2].save()
p = env[2].payments.create(
provider='paypal',
state=OrderPayment.PAYMENT_STATE_PENDING,
state=OrderPayment.PAYMENT_STATE_CREATED,
fee=fee,
amount=env[2].total
)