@@ -, +, @@ --- t/db_dependent/Koha/Holds.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/t/db_dependent/Koha/Holds.t +++ a/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(); --