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

(-)a/t/db_dependent/Circulation.t (-2 / +1 lines)
Lines 2321-2327 subtest 'CanBookBeIssued + Statistic patrons "X"' => sub { Link Here
2321
    my $patron_2 = $builder->build_object(
2321
    my $patron_2 = $builder->build_object(
2322
        { class => 'Koha::Patrons', value => { categorycode => $patron_category->{categorycode} } } );
2322
        { class => 'Koha::Patrons', value => { categorycode => $patron_category->{categorycode} } } );
2323
    my $item_2 = $builder->build_sample_item( { library => $library->branchcode } );
2323
    my $item_2 = $builder->build_sample_item( { library => $library->branchcode } );
2324
    my $issue  = AddIssue( $patron_2, $item_2->barcode );
2324
    my $issue  = AddIssue( $patron_2->unblessed, $item_2->barcode );
2325
    $item_2->discard_changes;
2325
    $item_2->discard_changes;
2326
    ok( $item_2->onloan, "Item is checked out" );
2326
    ok( $item_2->onloan, "Item is checked out" );
2327
2327
2328
- 

Return to bug 27992