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

(-)a/t/db_dependent/Circulation/Returns.t (-2 / +1 lines)
Lines 284-290 subtest 'Handle ids duplication' => sub { Link Here
284
    $builder->build({ source => 'OldIssue', value => { issue_id => $checkout->issue_id } });
284
    $builder->build({ source => 'OldIssue', value => { issue_id => $checkout->issue_id } });
285
285
286
    my @a = AddReturn( $item->{barcode} );
286
    my @a = AddReturn( $item->{barcode} );
287
    my $old_checkout = Koha::Old::Checkouts->find( $checkout->issue_id );
287
    my $old_checkout = Koha::OldIssues->find( $checkout->issue_id );
288
    isnt( $old_checkout->itemnumber, $item->{itemnumber}, 'If an item is checked-in, it should be moved to old_issues even if the issue_id already existed in the table' );
288
    isnt( $old_checkout->itemnumber, $item->{itemnumber}, 'If an item is checked-in, it should be moved to old_issues even if the issue_id already existed in the table' );
289
};
289
};
290
290
291
- 

Return to bug 18242