mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-13 04:00:21 +00:00
ignore nil in payment report spec expectation
This commit is contained in:
@@ -56,7 +56,7 @@ describe "Payments Reports" do
|
||||
order.ship_total.to_f + other_order.ship_total.to_f,
|
||||
order.outstanding_balance.to_f + other_order.outstanding_balance.to_f,
|
||||
order.total.to_f + other_order.total.to_f
|
||||
].join(" "))
|
||||
].compact.join(" "))
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user