From c6283f5d9a0a0710ebf3e6a95f939f1e4f760ac1 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 Signed-off-by: Tomas Cohen Arazi --- 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.39.5