From 06884565db113f88bcf4a5a2e2ca12d85fc31898 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 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 Signed-off-by: Jonathan Druart --- t/lib/TestBuilder.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/t/lib/TestBuilder.pm b/t/lib/TestBuilder.pm index 4e54b1a2b38..ff2450852bc 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.34.1