mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-13 04:00:21 +00:00
Update OrderDetailedSerializer
This commit is contained in:
@@ -248,7 +248,7 @@ module Api
|
||||
)
|
||||
expect(json_response[:adjustments].second).to include(
|
||||
'label' => "Shipping",
|
||||
'amount' => order.adjustments.shipping.first.amount.to_s
|
||||
'amount' => order.shipment_adjustments.first.amount.to_s
|
||||
)
|
||||
|
||||
expect(json_response[:payments].first[:amount]).to eq order.payments.first.amount.to_s
|
||||
|
||||
Reference in New Issue
Block a user