mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +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