From 2553371f684300ffb0238038928c0f8f5b1d3aac Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Thu, 16 Mar 2023 15:41:33 +0000 Subject: [PATCH] Bug 33245: TestBuilder: Default value for anonymized Content-Type: text/plain; charset=utf-8 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 Signed-off-by: Matt Blenkinsop --- t/lib/TestBuilder.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/t/lib/TestBuilder.pm b/t/lib/TestBuilder.pm index 4e54b1a2b3..ff2450852b 100644 --- a/t/lib/TestBuilder.pm +++ b/t/lib/TestBuilder.pm @@ -579,7 +579,9 @@ sub _gen_default_values { debarred => undef, borrowernotes => '', secret => undef, + password_expiration_date => undef, + anonymized => 0, }, Item => { notforloan => 0, -- 2.30.2