API: Expose cancellation_date on order endpoint (Z#23170733) (#4606)

Co-authored-by: robbi5 <richt@rami.io>
This commit is contained in:
Martin Gross
2024-11-04 16:41:44 +01:00
committed by GitHub
parent 5f7f0bd8f1
commit eb685b5141
5 changed files with 17 additions and 6 deletions

View File

@@ -492,6 +492,7 @@ def test_order_create_simulate(token_client, organizer, event, item, quota, ques
'refunds': [],
'require_approval': False,
'sales_channel': 'web',
'cancellation_date': None
}

View File

@@ -337,6 +337,7 @@ TEST_ORDER_RES = {
"downloads": [],
"payments": TEST_PAYMENTS_RES,
"refunds": TEST_REFUNDS_RES,
"cancellation_date": None,
}