From 8d9a00e64001740a1a58b897bfade1dc604b456d Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 19 Aug 2020 08:48:19 +0200 Subject: [PATCH] Bug 23816: Set default value in tests We tell TestBuilder to generate the categories with NULL (and rely on the sysprefs) Signed-off-by: Agustin Moyano https://bugs.koha-community.org/show_bug.cgi?id=23826 Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi --- t/lib/TestBuilder.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/t/lib/TestBuilder.pm b/t/lib/TestBuilder.pm index 065af37563..c40f6e6149 100644 --- a/t/lib/TestBuilder.pm +++ b/t/lib/TestBuilder.pm @@ -559,6 +559,8 @@ sub _gen_default_values { reservefee => 0, # Not X, used for statistics category_type => sub { return [ qw( A C S I P ) ]->[int(rand(5))] }, + min_password_length => undef, + require_strong_password => undef, }, Branch => { pickup_location => 0, -- 2.28.0