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>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit e5d42896b8)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
Nick Clemens 2021-05-05 15:28:26 +00:00 committed by Fridolin Somers
parent d6a95c8a8a
commit 6eb3790ff4
1 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ my $order_exc_tax = {
tax_rate => .1965,
discount => .42,
rrp => 16.99,
unitprice => 0.00,
unitprice => "0.00",
quantity => 8,
};