View | Details | Raw Unified | Return to bug 32650
Collapse All | Expand All

(-)a/t/db_dependent/Koha/Holds.t (-2 / +1 lines)
Lines 529-535 subtest 'get_items_that_can_fill' => sub { Link Here
529
        }
529
        }
530
    );
530
    );
531
    $items = $holds->get_items_that_can_fill;
531
    $items = $holds->get_items_that_can_fill;
532
    is_deeply( [ sort map { $_->itemnumber } $items->as_list ],
532
    is_deeply( [ sort { $a <=> $b } map { $_->itemnumber } $items->as_list ],
533
        [ $item_1->itemnumber, $item_2->itemnumber, $item_5->itemnumber ], 'Items 1, 2, and 5 are available for filling the holds' );
533
        [ $item_1->itemnumber, $item_2->itemnumber, $item_5->itemnumber ], 'Items 1, 2, and 5 are available for filling the holds' );
534
534
535
    my $no_holds = Koha::Holds->new->empty();
535
    my $no_holds = Koha::Holds->new->empty();
536
- 

Return to bug 32650