mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Test for explicit values, not reusing faulty code
This commit is contained in:
@@ -92,10 +92,7 @@ describe '
|
||||
end
|
||||
|
||||
def taxes_in_print_data
|
||||
display_checkout_taxes_hash(order).map { |tax_rate, tax_value|
|
||||
[tax_rate,
|
||||
tax_value.format(with_currency: false)]
|
||||
}
|
||||
[["10.0%", "$11.00"]]
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user