From 8b419fe0025acf848a77165f832e398d6ebe3ca8 Mon Sep 17 00:00:00 2001
From: Nick Clemens <nick@bywatersolutions.com>
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 <victor@tuxayo.net>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
---
 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.11.0