From 8d4a1bf5d60c3671c054d93554419cc8848b511a 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) --- t/lib/TestBuilder.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/t/lib/TestBuilder.pm b/t/lib/TestBuilder.pm index 45646206ba..9163a31958 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.20.1