Bugzilla – Attachment 189712 Details for
Bug 37893
Migrate some SIP configuration into the staff interface
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37893: (QA follow-up): Fix TestBuilder.t
Bug-37893-QA-follow-up-Fix-TestBuildert.patch (text/plain), 5.29 KB, created by
Pedro Amorim
on 2025-11-19 16:13:15 UTC
(
hide
)
Description:
Bug 37893: (QA follow-up): Fix TestBuilder.t
Filename:
MIME Type:
Creator:
Pedro Amorim
Created:
2025-11-19 16:13:15 UTC
Size:
5.29 KB
patch
obsolete
>From 474dc41004d6f9bb89c58dba34734b62fe38b692 Mon Sep 17 00:00:00 2001 >From: Pedro Amorim <pedro.amorim@openfifth.co.uk> >Date: Wed, 19 Nov 2025 16:12:22 +0000 >Subject: [PATCH] Bug 37893: (QA follow-up): Fix TestBuilder.t > >To test, run: >prove t/db_dependent/TestBuilder.t >--- > .../Result/SipAccountCustomItemField.pm | 21 +++++++++++++++++++ > .../Result/SipAccountCustomPatronField.pm | 21 +++++++++++++++++++ > Koha/Schema/Result/SipAccountItemField.pm | 21 +++++++++++++++++++ > .../Result/SipAccountPatronAttribute.pm | 21 +++++++++++++++++++ > .../Schema/Result/SipAccountScreenMsgRegex.pm | 21 +++++++++++++++++++ > .../Schema/Result/SipAccountSortBinMapping.pm | 21 +++++++++++++++++++ > .../SipAccountSystemPreferenceOverride.pm | 2 +- > 7 files changed, 127 insertions(+), 1 deletion(-) > >diff --git a/Koha/Schema/Result/SipAccountCustomItemField.pm b/Koha/Schema/Result/SipAccountCustomItemField.pm >index a9452ad3ba6..bf31b6b050a 100644 >--- a/Koha/Schema/Result/SipAccountCustomItemField.pm >+++ b/Koha/Schema/Result/SipAccountCustomItemField.pm >@@ -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; >diff --git a/Koha/Schema/Result/SipAccountCustomPatronField.pm b/Koha/Schema/Result/SipAccountCustomPatronField.pm >index 67d7b68b3c3..e95ff8795ec 100644 >--- a/Koha/Schema/Result/SipAccountCustomPatronField.pm >+++ b/Koha/Schema/Result/SipAccountCustomPatronField.pm >@@ -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; >diff --git a/Koha/Schema/Result/SipAccountItemField.pm b/Koha/Schema/Result/SipAccountItemField.pm >index fb6b78ef7cb..c72b0072238 100644 >--- a/Koha/Schema/Result/SipAccountItemField.pm >+++ b/Koha/Schema/Result/SipAccountItemField.pm >@@ -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; >diff --git a/Koha/Schema/Result/SipAccountPatronAttribute.pm b/Koha/Schema/Result/SipAccountPatronAttribute.pm >index 64aac953086..c1af963abad 100644 >--- a/Koha/Schema/Result/SipAccountPatronAttribute.pm >+++ b/Koha/Schema/Result/SipAccountPatronAttribute.pm >@@ -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; >diff --git a/Koha/Schema/Result/SipAccountScreenMsgRegex.pm b/Koha/Schema/Result/SipAccountScreenMsgRegex.pm >index 6548d1b0e59..1d0f2f38e0c 100644 >--- a/Koha/Schema/Result/SipAccountScreenMsgRegex.pm >+++ b/Koha/Schema/Result/SipAccountScreenMsgRegex.pm >@@ -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; >diff --git a/Koha/Schema/Result/SipAccountSortBinMapping.pm b/Koha/Schema/Result/SipAccountSortBinMapping.pm >index 41909160cc4..833b7cac4be 100644 >--- a/Koha/Schema/Result/SipAccountSortBinMapping.pm >+++ b/Koha/Schema/Result/SipAccountSortBinMapping.pm >@@ -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; >diff --git a/Koha/Schema/Result/SipAccountSystemPreferenceOverride.pm b/Koha/Schema/Result/SipAccountSystemPreferenceOverride.pm >index b618b0ad605..b0a74367ffc 100644 >--- a/Koha/Schema/Result/SipAccountSystemPreferenceOverride.pm >+++ b/Koha/Schema/Result/SipAccountSystemPreferenceOverride.pm >@@ -128,7 +128,7 @@ __PACKAGE__->belongs_to( > =cut > > sub koha_objects_class { >- 'Koha::SIP2::Accounts::SystemPreferenceOverrides'; >+ 'Koha::SIP2::Account::SystemPreferenceOverrides'; > } > > =head2 koha_object_class >-- >2.39.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 37893
:
172530
|
172584
|
188721
|
189711
| 189712 |
189908