Bugzilla – Attachment 133041 Details for
Bug 30432
get_items_that_can_fill needs to specify table for biblionumbers
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30432: Fix random failure
Bug-30432-Fix-random-failure.patch (text/plain), 1006 bytes, created by
Jonathan Druart
on 2022-04-06 14:35:34 UTC
(
hide
)
Description:
Bug 30432: Fix random failure
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2022-04-06 14:35:34 UTC
Size:
1006 bytes
patch
obsolete
>From d178a4aad34e44ecc7191557718b59be8315ff9d Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 6 Apr 2022 16:34:51 +0200 >Subject: [PATCH] Bug 30432: Fix random failure > >Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >--- > t/db_dependent/Koha/Holds.t | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > >diff --git a/t/db_dependent/Koha/Holds.t b/t/db_dependent/Koha/Holds.t >index a44ee6ae20a..36040cbb3b1 100755 >--- a/t/db_dependent/Koha/Holds.t >+++ b/t/db_dependent/Koha/Holds.t >@@ -513,7 +513,7 @@ subtest 'get_items_that_can_fill' => sub { > } > ); > $items = $holds->get_items_that_can_fill; >- is_deeply( [ map { $_->itemnumber } $items->as_list ], >+ is_deeply( [ sort map { $_->itemnumber } $items->as_list ], > [ $item_1->itemnumber, $item_2->itemnumber, $item_5->itemnumber ], 'Items 1, 2, and 5 are available for filling the holds' ); > > my $no_holds = Koha::Holds->new->empty(); >-- >2.25.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 30432
:
132862
|
132863
|
132930
|
132931
|
133039
|
133040
| 133041 |
133877