fix(medusa): add payments default relation to getTotalsRelations (#5875)

* bugfix: Add payments relation to getTotalsRelations

* update order test to expect correct paid_total and refundable_amount
This commit is contained in:
cyf0e
2023-12-22 08:13:39 +01:00
committed by GitHub
parent a0dd18c12a
commit b5a07cfcf4
2 changed files with 4 additions and 3 deletions

View File

@@ -2457,8 +2457,8 @@ describe("/admin/orders", () => {
refunded_total: 0,
total: 8200,
subtotal: 8000,
paid_total: 0,
refundable_amount: 0,
paid_total: 10000,
refundable_amount: 10000,
gift_card_total: 0,
gift_card_tax_total: 0,
})