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 <agustinmoyano@theke.io> https://bugs.koha-community.org/show_bug.cgi?id=23826 Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
5848da810e
commit
15d83d4481
1 changed files with 2 additions and 0 deletions
|
@ -559,6 +559,8 @@ sub _gen_default_values {
|
||||||
reservefee => 0,
|
reservefee => 0,
|
||||||
# Not X, used for statistics
|
# Not X, used for statistics
|
||||||
category_type => sub { return [ qw( A C S I P ) ]->[int(rand(5))] },
|
category_type => sub { return [ qw( A C S I P ) ]->[int(rand(5))] },
|
||||||
|
min_password_length => undef,
|
||||||
|
require_strong_password => undef,
|
||||||
},
|
},
|
||||||
Branch => {
|
Branch => {
|
||||||
pickup_location => 0,
|
pickup_location => 0,
|
||||||
|
|
Loading…
Reference in a new issue