From c713170f41cc081fc8f61d046eca59b68bb35846 Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Wed, 5 May 2021 15:28:26 +0000 Subject: [PATCH] Bug 27203: Adjust unit tests It seems the issue here is that the price passed in is a string, and not a number, so the tax value is not calculated when no unitprice is provided Signed-off-by: Victor Grousset/tuxayo --- t/db_dependent/Acquisition/populate_order_with_prices.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/db_dependent/Acquisition/populate_order_with_prices.t b/t/db_dependent/Acquisition/populate_order_with_prices.t index 7e59ec29dc..50af03bf6d 100755 --- a/t/db_dependent/Acquisition/populate_order_with_prices.t +++ b/t/db_dependent/Acquisition/populate_order_with_prices.t @@ -41,7 +41,7 @@ my $order_exc_tax = { tax_rate => .1965, discount => .42, rrp => 16.99, - unitprice => 0.00, + unitprice => "0.00", quantity => 8, }; -- 2.31.1