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

(-)a/t/db_dependent/Items.t (-2 / +1 lines)
Lines 322-328 subtest 'GetItemsInfo tests' => sub { Link Here
322
    $dbh->do(q{INSERT INTO tmp_holdsqueue (biblionumber, itemnumber, surname, borrowernumber ) VALUES (?, ?, "Zorro", 42)}, undef, $item_bibnum, $itemnumber);
322
    $dbh->do(q{INSERT INTO tmp_holdsqueue (biblionumber, itemnumber, surname, borrowernumber ) VALUES (?, ?, "Zorro", 42)}, undef, $item_bibnum, $itemnumber);
323
    @results = GetItemsInfo( $biblio->biblionumber );
323
    @results = GetItemsInfo( $biblio->biblionumber );
324
    is( $results[0]->{ has_pending_hold }, "1",
324
    is( $results[0]->{ has_pending_hold }, "1",
325
        'Hold marked as pending/unavailable if not AllowItemsOnHoldCheckout' );
325
        'Hold marked as pending/unavailable if tmp_holdsqueue is not empty for item' );
326
326
327
    $schema->storage->txn_rollback;
327
    $schema->storage->txn_rollback;
328
};
328
};
329
- 

Return to bug 23233