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:
parent
ca2fdda342
commit
c6283f5d9a
1 changed files with 2 additions and 0 deletions
|
@ -579,7 +579,9 @@ sub _gen_default_values {
|
||||||
debarred => undef,
|
debarred => undef,
|
||||||
borrowernotes => '',
|
borrowernotes => '',
|
||||||
secret => undef,
|
secret => undef,
|
||||||
|
|
||||||
password_expiration_date => undef,
|
password_expiration_date => undef,
|
||||||
|
anonymized => 0,
|
||||||
},
|
},
|
||||||
Item => {
|
Item => {
|
||||||
notforloan => 0,
|
notforloan => 0,
|
||||||
|
|
Loading…
Reference in a new issue