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

(-)a/t/db_dependent/Koha/Account/Lines.t (-2 / +4 lines)
Lines 301-307 subtest 'Keep account info when a patron is deleted' => sub { Link Here
301
301
302
subtest 'issue() tests' => sub {
302
subtest 'issue() tests' => sub {
303
303
304
    plan tests => 5;
304
    plan tests => 6;
305
305
306
    $schema->storage->txn_begin;
306
    $schema->storage->txn_begin;
307
307
Lines 335-339 subtest 'issue() tests' => sub { Link Here
335
    is( ref($old_line_issue), 'Koha::Old::Checkout', 'Result type is correct' );
335
    is( ref($old_line_issue), 'Koha::Old::Checkout', 'Result type is correct' );
336
    is( $old_line_issue->issue_id, $old_checkout->issue_id, 'Koha::Account::Line->issue should return the correct old_issue' );
336
    is( $old_line_issue->issue_id, $old_checkout->issue_id, 'Koha::Account::Line->issue should return the correct old_issue' );
337
337
338
    $line->issue_id(undef)->store;
339
    is( $line->issue, undef, 'Koha::Account::Line->issue should return undef if no issue linked' );
340
338
    $schema->storage->txn_rollback;
341
    $schema->storage->txn_rollback;
339
};
342
};
340
- 

Return to bug 19489