Bugzilla – Attachment 178999 Details for
Bug 35434
Non-superlibrarians should not place holds in other libraries when IndependentBranches is enabled
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35434: (follow-up) tidy code
Bug-35434-follow-up-tidy-code.patch (text/plain), 1.24 KB, created by
Hammat wele
on 2025-03-05 17:28:54 UTC
(
hide
)
Description:
Bug 35434: (follow-up) tidy code
Filename:
MIME Type:
Creator:
Hammat wele
Created:
2025-03-05 17:28:54 UTC
Size:
1.24 KB
patch
obsolete
>From e3cc046cd760e604bd19398918bbdde1cfd6407c Mon Sep 17 00:00:00 2001 >From: Hammat Wele <hammat.wele@inlibro.com> >Date: Wed, 5 Mar 2025 17:27:28 +0000 >Subject: [PATCH] Bug 35434: (follow-up) tidy code > >--- > t/db_dependent/Koha/Item.t | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/t/db_dependent/Koha/Item.t b/t/db_dependent/Koha/Item.t >index 76593b147e..246ca2b739 100755 >--- a/t/db_dependent/Koha/Item.t >+++ b/t/db_dependent/Koha/Item.t >@@ -563,7 +563,7 @@ subtest 'pickup_locations() tests' => sub { > > plan tests => 70; > >- t::lib::Mocks::mock_preference('canreservefromotherbranches', 1); >+ t::lib::Mocks::mock_preference( 'canreservefromotherbranches', 1 ); > $schema->storage->txn_begin; > > my $dbh = C4::Context->dbh; >@@ -902,7 +902,7 @@ subtest 'pickup_locations() tests' => sub { > grep { $pickup_location->branchcode eq $_ } @branchcodes > } $item4->pickup_locations( { patron => $patron5 } )->as_list; > ok( >- scalar(@pickup_locations) == 1 && @pickup_locations[0] eq $library4->branchcode, >+ scalar(@pickup_locations) == 1 && $pickup_locations[0] eq $library4->branchcode, > 'There should be only one branch in the pickup locations, the connected branch' > ); > >-- >2.34.1
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 35434
:
159346
|
161509
|
166648
|
169917
|
169918
|
169919
|
176045
|
176046
|
176047
|
178296
|
178297
|
178298
| 178999