From b29eaeb6ea708d90e4d6739577d684b88a926016 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 25 Nov 2022 13:06:40 +0100 Subject: [PATCH] Bug 32353: Don't generate item group for items in tests See bug 31447, we don't want the tests to deal with potential failures because of some item groups. --- t/db_dependent/Circulation.t | 1 - t/lib/TestBuilder.pm | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/t/db_dependent/Circulation.t b/t/db_dependent/Circulation.t index 0ba8d69742c..f6ce3253f30 100755 --- a/t/db_dependent/Circulation.t +++ b/t/db_dependent/Circulation.t @@ -5717,7 +5717,6 @@ subtest "CanBookBeIssued + needsconfirmation message" => sub { priority => 1, found => undef, suspend => 0, - item_group_id => $item->item_group }}); my ( $error, $needsconfirmation, $alerts, $messages ); diff --git a/t/lib/TestBuilder.pm b/t/lib/TestBuilder.pm index fedcdc718dc..8f90e37b250 100644 --- a/t/lib/TestBuilder.pm +++ b/t/lib/TestBuilder.pm @@ -589,6 +589,7 @@ sub _gen_default_values { damaged => 0, materials => undef, more_subfields_xml => undef, + item_group_id => undef, }, Category => { enrolmentfee => 0, -- 2.25.1