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 commite5d42896b8) Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com> (cherry picked from commit6eb3790ff4) Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
This commit is contained in:
parent
a0daf79db7
commit
59c30d4239
|
|
@ -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