From 1bf49ad6462ffb21bf1602beec4d9eed2b904023 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Wed, 6 Jan 2021 11:31:30 -0300 Subject: [PATCH] Bug 25260: Sane TestBuilder defaults This patch sets some sane defaults for TestBuilder. Signed-off-by: Martin Renvoize --- t/lib/TestBuilder.pm | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/t/lib/TestBuilder.pm b/t/lib/TestBuilder.pm index ee375425af..ccd9e5f4b3 100644 --- a/t/lib/TestBuilder.pm +++ b/t/lib/TestBuilder.pm @@ -575,8 +575,16 @@ sub _gen_default_values { Branch => { pickup_location => 0, }, - Reserve => { - non_priority => 0, + Hold => { + non_priority => 0, + completed => 0, + completed_date => undef, + waiting_date => undef, + item_level => 0, + lowest_priority => 0, + suspended => 0, + suspended_until => undef, + expiration_date => undef, }, Itemtype => { rentalcharge => 0, -- 2.32.0