mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-01 02:03:22 +00:00
Update BulkLineItemsController spec now that taxes on enterprise fees are updated correctly
Tax on fees previously stayed the same unless the fees were deleted recreated from scratch, instead of updating when the fee amounts changed
This commit is contained in:
@@ -366,7 +366,7 @@ describe Admin::BulkLineItemsController, type: :controller do
|
||||
expect(order.shipment_adjustments.sum(:amount)).to eq 12.57
|
||||
expect(order.item_total).to eq 40.0
|
||||
expect(order.adjustment_total).to eq 27.0
|
||||
expect(order.included_tax_total).to eq 2.93 # Pending: taxes on enterprise fees unchanged
|
||||
expect(order.included_tax_total).to eq 3.38
|
||||
expect(order.payment_state).to eq "balance_due"
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user