forked from CGM_Public/pretix_original
Tests: Fix two flaky tests (#4557)
* Test: Fix test that relies on unstable database result order * Tests: Fix test that fails between 0am and 1am
This commit is contained in:
@@ -451,7 +451,7 @@ def test_order_create_invoice(token_client, organizer, event, order):
|
||||
"invoice_to_vat_id": "DE123",
|
||||
"invoice_to_beneficiary": "",
|
||||
"custom_field": None,
|
||||
'date': now().date().isoformat(),
|
||||
'date': now().astimezone(event.timezone).date().isoformat(),
|
||||
'refers': None,
|
||||
'locale': 'en',
|
||||
'introductory_text': '',
|
||||
|
||||
Reference in New Issue
Block a user