From 6961cb2dcb6cfa38e8efd57fcd86071bd791f32e Mon Sep 17 00:00:00 2001 From: Kyle Hall Date: Tue, 12 Jul 2022 06:12:26 -0400 Subject: [PATCH] Bug 31140: TestBuilder.t is failing on item groups modules Test Plan: 1) prove t/db_dependent/TestBuilder.t 2) Note failures 3) Apply this patch 4) prove t/db_dependent/TestBuilder.t 5) Note all tests pass! Signed-off-by: David Nind Signed-off-by: Tomas Cohen Arazi --- Koha/Biblio/ItemGroup.pm | 8 -------- Koha/Biblio/ItemGroup/Item.pm | 4 ---- 2 files changed, 12 deletions(-) diff --git a/Koha/Biblio/ItemGroup.pm b/Koha/Biblio/ItemGroup.pm index 8c4ba66db1..9525a0fe0a 100644 --- a/Koha/Biblio/ItemGroup.pm +++ b/Koha/Biblio/ItemGroup.pm @@ -131,12 +131,4 @@ sub _type { return 'ItemGroup'; } -=head3 object_class - -=cut - -sub object_class { - return 'Koha::Biblio::ItemGroup'; -} - 1; diff --git a/Koha/Biblio/ItemGroup/Item.pm b/Koha/Biblio/ItemGroup/Item.pm index 17a175f302..9587c90a0b 100644 --- a/Koha/Biblio/ItemGroup/Item.pm +++ b/Koha/Biblio/ItemGroup/Item.pm @@ -39,8 +39,4 @@ sub _type { =cut -sub object_class { - return 'Koha::Biblio::ItemGroup::Item'; -} - 1; -- 2.39.5