mirror of
https://github.com/pretix/pretix.git
synced 2026-05-04 15:04:03 +00:00
Order creation API: Do not allow empty orders
This commit is contained in:
@@ -159,6 +159,7 @@ TEST_PAYMENTS_RES = [
|
||||
"created": "2017-12-01T10:00:00Z",
|
||||
"payment_date": "2017-12-01T10:00:00Z",
|
||||
"provider": "stripe",
|
||||
"payment_url": None,
|
||||
"state": "refunded",
|
||||
"amount": "23.00"
|
||||
},
|
||||
@@ -167,6 +168,7 @@ TEST_PAYMENTS_RES = [
|
||||
"created": "2017-12-01T10:00:00Z",
|
||||
"payment_date": None,
|
||||
"provider": "banktransfer",
|
||||
"payment_url": None,
|
||||
"state": "pending",
|
||||
"amount": "23.00"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user