From 42e41883a4c8daad97201ad2a0d29443d9facc13 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 5 Feb 2018 15:21:26 -0300 Subject: [PATCH] Bug 20144: [sql_modes] Set default value for Aqbookseller in TestBuilder Fix for: Out of range value for column 'tax_rate' t/db_dependent/Koha/Acquisition/Basket.t Signed-off-by: Josef Moravec Signed-off-by: Julian Maurice Signed-off-by: Jonathan Druart --- t/lib/TestBuilder.pm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/t/lib/TestBuilder.pm b/t/lib/TestBuilder.pm index 5937e0f664..ed56e5a0d6 100644 --- a/t/lib/TestBuilder.pm +++ b/t/lib/TestBuilder.pm @@ -480,6 +480,10 @@ sub _gen_default_values { Itemtype => { rentalcharge => 0, }, + Aqbookseller => { + tax_rate => 0, + discount => 0, + }, }; } -- 2.39.5