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:
parent
d6a95c8a8a
commit
6eb3790ff4
|
|
@ -41,7 +41,7 @@ my $order_exc_tax = {
|
|||
tax_rate => .1965,
|
||||
discount => .42,
|
||||
rrp => 16.99,
|
||||
unitprice => 0.00,
|
||||
unitprice => "0.00",
|
||||
quantity => 8,
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue