Bug 21467: Prevent tests to fail
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 1 Nov 2018 12:51:23 +0000 (09:51 -0300)
committerNick Clemens <nick@bywatersolutions.com>
Tue, 13 Nov 2018 19:31:11 +0000 (19:31 +0000)
commite08980974e9952cb6d80a48fcedb032dada63d7c
treed1a9aa35783bc31a6ee0a05be9dbdb148ab01b81
parentb5cf4012ff0f208e57942e1fb8d6e713a2f3a98d
Bug 21467: Prevent tests to fail

The following error is raised if TestBuilder generates too big numbers:
 Out of range value for column 'tax_value_on_ordering'

     UPDATE aqorders
     SET
         tax_value_on_ordering = quantity * ecost_tax_excluded * tax_rate_on_ordering,
         tax_value_on_receiving = quantity * unitprice_tax_excluded * tax_rate_on_receiving
     WHERE ordernumber = ?
 "] at /home/vagrant/kohaclone/C4/Acquisition.pm line 1484.

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
t/db_dependent/Acquisition.t