Order creation API: Do not allow empty orders

This commit is contained in:
Raphael Michel
2019-08-12 17:33:05 +02:00
parent f8bf44c262
commit 9c23216bd1
2 changed files with 3 additions and 1 deletions

View File

@@ -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"
}