From 721d925c58db26d432faf4b7ef37c23343bd3ac0 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 22 May 2020 15:33:36 +0200 Subject: [PATCH] Bug 25540: Default for branches.pickup_location must be 0 This is a try to fix failures in both t/db_dependent/Template/Plugin/Branches.t t/db_dependent/Koha/Biblio.t Signed-off-by: Tomas Cohen Arazi Signed-off-by: Martin Renvoize --- t/lib/TestBuilder.pm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/t/lib/TestBuilder.pm b/t/lib/TestBuilder.pm index 533f5d4c79..7c9d4e8d1e 100644 --- a/t/lib/TestBuilder.pm +++ b/t/lib/TestBuilder.pm @@ -559,6 +559,9 @@ sub _gen_default_values { # Not X, used for statistics category_type => sub { return [ qw( A C S I P ) ]->[int(rand(5))] }, }, + Branch => { + pickup_location => 0, + }, Itemtype => { rentalcharge => 0, rentalcharge_daily => 0, -- 2.39.5