Refunds in state "done" should always have an execution date

This commit is contained in:
Raphael Michel
2023-12-12 14:20:43 +01:00
parent d4a32fd39d
commit 7f948bf263
2 changed files with 7 additions and 0 deletions

View File

@@ -1677,6 +1677,7 @@ def test_refund_create_webhook_sent(token_client, organizer, event, order):
assert r.provider == "manual"
assert r.amount == Decimal("23.00")
assert r.state == "done"
assert r.execution_date
with scopes_disabled():
assert order.all_logentries().get(action_type="pretix.event.order.refund.done")