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

(-)a/t/db_dependent/UsageStats.t (-2 / +1 lines)
Lines 288-294 sub construct_objects_needed { Link Here
288
    my $issue_id1 = $dbh->last_insert_id( undef, undef, 'old_issues', undef );
288
    my $issue_id1 = $dbh->last_insert_id( undef, undef, 'old_issues', undef );
289
289
290
    # ---------- Add 1 old_reserves
290
    # ---------- Add 1 old_reserves
291
    AddReserve( $branchcode, $borrowernumber1, $biblionumber1, 'a', '', 1, undef, undef, '', 'Title', undef, undef );
291
    AddReserve( $branchcode, $borrowernumber1, $biblionumber1, '', 1, undef, undef, '', 'Title', undef, undef );
292
    my $reserves1   = GetReservesFromBiblionumber( { biblionumber => $biblionumber1 } );
292
    my $reserves1   = GetReservesFromBiblionumber( { biblionumber => $biblionumber1 } );
293
    my $reserve_id1 = $reserves1->[0]->{reserve_id};
293
    my $reserve_id1 = $reserves1->[0]->{reserve_id};
294
    my $reserve1    = CancelReserve( { reserve_id => $reserve_id1 } );
294
    my $reserve1    = CancelReserve( { reserve_id => $reserve_id1 } );
295
- 

Return to bug 14097