Bug 27203: Adjust unit tests
authorNick Clemens <nick@bywatersolutions.com>
Wed, 5 May 2021 15:28:26 +0000 (15:28 +0000)
committerVictor Grousset/tuxayo <victor@tuxayo.net>
Tue, 25 May 2021 14:41:44 +0000 (16:41 +0200)
commit34671f3713dae6a40cc18a0887560275a3218e3f
tree926359d043d53ffc64fbc58de9ce0bf414e2476b
parent3e62dba7fb990aa996b23e3470df071ae7abee9d
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 e5d42896b8076e24c6948009d7552b6cdba964f0)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 6eb3790ff489bd9a012960d5abdd5d1fe6e2b20d)

Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
(cherry picked from commit 59c30d42393ef9c57a17291bcb5aec99613fa3cb)
Signed-off-by: Victor Grousset/tuxayo <victor@tuxayo.net>
t/db_dependent/Acquisition/populate_order_with_prices.t