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

(-)a/t/db_dependent/Koha/Patron.t (-1 / +2 lines)
Lines 1166-1171 subtest 'safe_to_delete() tests' => sub { Link Here
1166
    is( $message->type, 'error', 'Type is error' );
1166
    is( $message->type, 'error', 'Type is error' );
1167
    is( $message->message, 'has_debt', 'Cannot delete, has debt' );
1167
    is( $message->message, 'has_debt', 'Cannot delete, has debt' );
1168
    # cleanup
1168
    # cleanup
1169
    my $manager = $builder->build_object( { class => 'Koha::Patrons' } );
1170
    t::lib::Mocks::mock_userenv( { borrowernumber => $manager->id } );
1169
    $patron->account->pay({ amount => 10, debits => [ $debit ] });
1171
    $patron->account->pay({ amount => 10, debits => [ $debit ] });
1170
1172
1171
    ## Happy case :-D
1173
    ## Happy case :-D
1172
- 

Return to bug 34932