From 624e8f1bb89084f1c9be129bbe72710d38b70bd5 Mon Sep 17 00:00:00 2001 From: David Cook Date: Tue, 29 Oct 2024 00:35:45 +0000 Subject: [PATCH] Bug 35659: (QA follow-up) fix t/db_dependent/TestBuilder.t Signed-off-by: Katrin Fischer --- Koha/Schema/Result/ImportOaiAuthority.pm | 9 +++++++++ Koha/Schema/Result/ImportOaiBiblio.pm | 9 +++++++++ 2 files changed, 18 insertions(+) diff --git a/Koha/Schema/Result/ImportOaiAuthority.pm b/Koha/Schema/Result/ImportOaiAuthority.pm index 99e01adf7e..28a8f96219 100644 --- a/Koha/Schema/Result/ImportOaiAuthority.pm +++ b/Koha/Schema/Result/ImportOaiAuthority.pm @@ -149,4 +149,13 @@ __PACKAGE__->belongs_to( # You can replace this text with custom code or comments, and it will be preserved on regeneration + +sub koha_object_class { + 'Koha::Import::OAI::Authority'; +} + +sub koha_objects_class { + 'Koha::Import::OAI::Authorities'; +} + 1; diff --git a/Koha/Schema/Result/ImportOaiBiblio.pm b/Koha/Schema/Result/ImportOaiBiblio.pm index 11471853e0..95e24d7c39 100644 --- a/Koha/Schema/Result/ImportOaiBiblio.pm +++ b/Koha/Schema/Result/ImportOaiBiblio.pm @@ -143,4 +143,13 @@ __PACKAGE__->belongs_to( # You can replace this text with custom code or comments, and it will be preserved on regeneration + +sub koha_object_class { + 'Koha::Import::OAI::Biblio'; +} + +sub koha_objects_class { + 'Koha::Import::OAI::Biblios'; +} + 1; -- 2.39.5