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

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

Return to bug 14097