Bugzilla – Attachment 144241 Details for
Bug 31447
"Please confirm checkout" message uses patron's home library not holds pick up library
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31447: Fix test
0001-Bug-31447-Fix-test.patch (text/plain), 1.54 KB, created by
Emmi Takkinen
on 2022-11-25 11:13:09 UTC
(
hide
)
Description:
Bug 31447: Fix test
Filename:
MIME Type:
Creator:
Emmi Takkinen
Created:
2022-11-25 11:13:09 UTC
Size:
1.54 KB
patch
obsolete
>From a3a64f66fb59c1d2421e6c4111e4df4c8e982211 Mon Sep 17 00:00:00 2001 >From: Emmi Takkinen <emmi.takkinen@koha-suomi.fi> >Date: Fri, 25 Nov 2022 09:01:15 +0200 >Subject: [PATCH 1/2] Bug 31447: Fix test > >Tests for this feature raised a new warning >"Odd number of elements in anonymous hash". >Setting $item->item_group as seperated variable >removes this warning. > >To test prove t/db_dependent/Circulation.t. > >Sponsored-by: Koha-Suomi Oy >--- > t/db_dependent/Circulation.t | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >diff --git a/t/db_dependent/Circulation.t b/t/db_dependent/Circulation.t >index be02501f42..a7b4c70178 100755 >--- a/t/db_dependent/Circulation.t >+++ b/t/db_dependent/Circulation.t >@@ -5709,6 +5709,8 @@ subtest "CanBookBeIssued + needsconfirmation message" => sub { > my $biblioitem = $builder->build_object({ class => 'Koha::Biblioitems', value => { biblionumber => $biblio->biblionumber }}); > my $item = $builder->build_object({ class => 'Koha::Items' , value => { biblionumber => $biblio->biblionumber }}); > >+ my $item_group = $item->item_group; >+ > my $hold = $builder->build_object({ class => 'Koha::Holds', value => { > biblionumber => $item->biblionumber, > branchcode => $library->branchcode, >@@ -5717,7 +5719,7 @@ subtest "CanBookBeIssued + needsconfirmation message" => sub { > priority => 1, > found => undef, > suspend => 0, >- item_group_id => $item->item_group >+ item_group_id => $item_group, > }}); > > my ( $error, $needsconfirmation, $alerts, $messages ); >-- >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 31447
:
140000
|
140338
|
141292
|
143112
|
143349
|
143386
|
143776
|
143777
|
143813
|
143814
|
144241