mirror of
https://github.com/pretix/pretix.git
synced 2026-09-15 16:34:42 +00:00
Test suite: Allow to cancel expired orders
This commit is contained in:
@@ -1148,9 +1148,9 @@ def test_order_mark_canceled_expired(token_client, organizer, event, order):
|
|||||||
organizer.slug, event.slug, order.code
|
organizer.slug, event.slug, order.code
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
assert resp.status_code == 400
|
assert resp.status_code == 200
|
||||||
order.refresh_from_db()
|
order.refresh_from_db()
|
||||||
assert order.status == Order.STATUS_EXPIRED
|
assert order.status == Order.STATUS_CANCELED
|
||||||
|
|
||||||
|
|
||||||
@pytest.mark.django_db
|
@pytest.mark.django_db
|
||||||
|
|||||||
Reference in New Issue
Block a user