Bugzilla – Attachment 144683 Details for
Bug 30403
Update notforloan status also on check out
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30403: (QA follow-up) Fix warning in unit test
Bug-30403-QA-follow-up-Fix-warning-in-unit-test.patch (text/plain), 1.03 KB, created by
Kyle M Hall (khall)
on 2022-12-16 14:35:03 UTC
(
hide
)
Description:
Bug 30403: (QA follow-up) Fix warning in unit test
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2022-12-16 14:35:03 UTC
Size:
1.03 KB
patch
obsolete
>From 276f164f35e7e0f37e081ed422fd6a6ae0184937 Mon Sep 17 00:00:00 2001 >From: Kyle Hall <kyle@bywatersolutions.com> >Date: Fri, 16 Dec 2022 09:21:48 -0500 >Subject: [PATCH] Bug 30403: (QA follow-up) Fix warning in unit test > >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > t/db_dependent/Circulation/issue.t | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/t/db_dependent/Circulation/issue.t b/t/db_dependent/Circulation/issue.t >index 6b9abc78c2..e56c7ce2f5 100755 >--- a/t/db_dependent/Circulation/issue.t >+++ b/t/db_dependent/Circulation/issue.t >@@ -558,7 +558,7 @@ my $itemnumber4 = Koha::Item->new( > > t::lib::Mocks::mock_preference( 'UpdateNotForLoanStatusOnCheckout', q{} ); > AddIssue( $borrower_2, 'barcode_6', dt_from_string ); >-my $item = Koha::Items->find( $itemnumber4 ); >+$item = Koha::Items->find( $itemnumber4 ); > ok( $item->notforloan eq -1, 'UpdateNotForLoanStatusOnCheckout does not modify value when not enabled' ); > > t::lib::Mocks::mock_preference( 'UpdateNotForLoanStatusOnCheckout', '-1: 0' ); >-- >2.30.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 30403
:
132534
|
132535
|
132536
|
139675
|
142915
|
143883
|
144681
|
144682
| 144683 |
144684
|
149234