Bug 33245: TestBuilder: Default value for anonymized

When we create a patron with TestBuilder, we normally
do not expect an anonymized status. This will certainly
hold for the patrons we are creating for testing is_active
in a following patch.

Test plan:
Run t/db_dependent/Koha/Patron.t
Run t/db_dependent/Koha/Patrons.t

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Matt Blenkinsop <matt.blenkinsop@ptfs-europe.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Marcel de Rooy 2023-03-16 15:41:33 +00:00 committed by Tomas Cohen Arazi
parent ca2fdda342
commit c6283f5d9a
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

View file

@ -579,7 +579,9 @@ sub _gen_default_values {
debarred => undef,
borrowernotes => '',
secret => undef,
password_expiration_date => undef,
anonymized => 0,
},
Item => {
notforloan => 0,