Bug 37893: (QA follow-up): Fix TestBuilder.t

To test, run:
prove t/db_dependent/TestBuilder.t

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Pedro Amorim 2025-11-19 16:12:22 +00:00 committed by Lucas Gass
parent 0bbd97a4b9
commit 03aa616c8f
No known key found for this signature in database
GPG Key ID: 60B447398B0D36CA
7 changed files with 127 additions and 1 deletions

View File

@ -120,4 +120,25 @@ __PACKAGE__->belongs_to(
# You can replace this text with custom code or comments, and it will be preserved on regeneration
=head2 koha_objects_class
Koha Objects class
=cut
sub koha_objects_class {
'Koha::SIP2::Account::CustomItemFields';
}
=head2 koha_object_class
Koha Object class
=cut
sub koha_object_class {
'Koha::SIP2::Account::CustomItemField';
}
1;

View File

@ -120,4 +120,25 @@ __PACKAGE__->belongs_to(
# You can replace this text with custom code or comments, and it will be preserved on regeneration
=head2 koha_objects_class
Koha Objects class
=cut
sub koha_objects_class {
'Koha::SIP2::Account::CustomPatronFields';
}
=head2 koha_object_class
Koha Object class
=cut
sub koha_object_class {
'Koha::SIP2::Account::CustomPatronField';
}
1;

View File

@ -120,4 +120,25 @@ __PACKAGE__->belongs_to(
# You can replace this text with custom code or comments, and it will be preserved on regeneration
=head2 koha_objects_class
Koha Objects class
=cut
sub koha_objects_class {
'Koha::SIP2::Account::ItemFields';
}
=head2 koha_object_class
Koha Object class
=cut
sub koha_object_class {
'Koha::SIP2::Account::ItemField';
}
1;

View File

@ -120,4 +120,25 @@ __PACKAGE__->belongs_to(
# You can replace this text with custom code or comments, and it will be preserved on regeneration
=head2 koha_objects_class
Koha Objects class
=cut
sub koha_objects_class {
'Koha::SIP2::Account::PatronAttributes';
}
=head2 koha_object_class
Koha Object class
=cut
sub koha_object_class {
'Koha::SIP2::Account::PatronAttribute';
}
1;

View File

@ -120,4 +120,25 @@ __PACKAGE__->belongs_to(
# You can replace this text with custom code or comments, and it will be preserved on regeneration
=head2 koha_objects_class
Koha Objects class
=cut
sub koha_objects_class {
'Koha::SIP2::Account::ScreenMsgRegexs';
}
=head2 koha_object_class
Koha Object class
=cut
sub koha_object_class {
'Koha::SIP2::Account::ScreenMsgRegex';
}
1;

View File

@ -110,4 +110,25 @@ __PACKAGE__->belongs_to(
# You can replace this text with custom code or comments, and it will be preserved on regeneration
=head2 koha_objects_class
Koha Objects class
=cut
sub koha_objects_class {
'Koha::SIP2::Account::SortBinMappings';
}
=head2 koha_object_class
Koha Object class
=cut
sub koha_object_class {
'Koha::SIP2::Account::SortBinMapping';
}
1;

View File

@ -128,7 +128,7 @@ __PACKAGE__->belongs_to(
=cut
sub koha_objects_class {
'Koha::SIP2::Accounts::SystemPreferenceOverrides';
'Koha::SIP2::Account::SystemPreferenceOverrides';
}
=head2 koha_object_class