Bug 30432: Fix random failure
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
parent
4531fa5fc9
commit
87e5601d53
|
|
@ -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();
|
||||
|
|
|
|||
Loading…
Reference in New Issue