Bugzilla – Attachment 167056 Details for
Bug 36923
Holds/LocalHoldsPriority.t generates warnings
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36923: Remove warnings from Holds/LocalHoldsPriority.t
Bug-36923-Remove-warnings-from-HoldsLocalHoldsPrio.patch (text/plain), 1.79 KB, created by
David Nind
on 2024-05-23 04:08:49 UTC
(
hide
)
Description:
Bug 36923: Remove warnings from Holds/LocalHoldsPriority.t
Filename:
MIME Type:
Creator:
David Nind
Created:
2024-05-23 04:08:49 UTC
Size:
1.79 KB
patch
obsolete
>From 75c5ca6b2b419a180648ace48e4b1f2c2e158c30 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 22 May 2024 14:01:28 +0200 >Subject: [PATCH] Bug 36923: Remove warnings from Holds/LocalHoldsPriority.t > >t/db_dependent/Holds/LocalHoldsPriority.t .. 1/7 Use of uninitialized value in numeric gt (>) at /kohadevbox/koha/C4/Reserves.pm line 866. >t/db_dependent/Holds/LocalHoldsPriority.t .. 2/7 Use of uninitialized value in numeric gt (>) at /kohadevbox/koha/C4/Reserves.pm line 866. >Use of uninitialized value in numeric gt (>) at /kohadevbox/koha/C4/Reserves.pm line 866. >Use of uninitialized value in numeric gt (>) at /kohadevbox/koha/C4/Reserves.pm line 866. >t/db_dependent/Holds/LocalHoldsPriority.t .. 5/7 Use of uninitialized value in numeric gt (>) at /kohadevbox/koha/C4/Reserves.pm line 866. >t/db_dependent/Holds/LocalHoldsPriority.t .. ok >All tests successful. > >We didn't have the default values generated by the DBMS > >Signed-off-by: David Nind <david@davidnind.com> >--- > t/db_dependent/Holds/LocalHoldsPriority.t | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/t/db_dependent/Holds/LocalHoldsPriority.t b/t/db_dependent/Holds/LocalHoldsPriority.t >index 95af26981f..7638130e20 100755 >--- a/t/db_dependent/Holds/LocalHoldsPriority.t >+++ b/t/db_dependent/Holds/LocalHoldsPriority.t >@@ -51,7 +51,7 @@ my $item = Koha::Item->new( > itype => $itemtype, > exclude_from_local_holds_priority => 0, > }, >-)->store; >+)->store->get_from_storage; > > my @branchcodes = ( $library1->{branchcode}, $library2->{branchcode}, $library3->{branchcode}, $library4->{branchcode}, $library3->{branchcode}, $library4->{branchcode} ); > my $patron_category = $builder->build({ source => 'Category', value => {exclude_from_local_holds_priority => 0} }); >-- >2.39.2
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 36923
:
167024
|
167056
|
167157