From 15d83d44812307f0d37abcf040a357ffab3f27e6 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 Signed-off-by: Jonathan Druart --- 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,