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

(-)a/t/db_dependent/Circulation/MarkIssueReturned.t (-2 / +1 lines)
Lines 285-291 subtest 'AutoRemoveOverduesRestrictions' => sub { Link Here
285
    C4::Circulation::MarkIssueReturned( $patron->borrowernumber, $item_2->itemnumber );
285
    C4::Circulation::MarkIssueReturned( $patron->borrowernumber, $item_2->itemnumber );
286
286
287
    $debarments = Koha::Patron::Debarments::GetDebarments({ borrowernumber => $patron->borrowernumber });
287
    $debarments = Koha::Patron::Debarments::GetDebarments({ borrowernumber => $patron->borrowernumber });
288
    is( scalar @$debarments, 0, 'OVERDUES debarment is removed if remaning items would not result in patron debarment' );
288
    is( scalar @$debarments, 0, 'OVERDUES debarment is removed if remaining items would not result in patron debarment' );
289
289
290
    $schema->storage->txn_rollback;
290
    $schema->storage->txn_rollback;
291
};
291
};
292
- 

Return to bug 29145