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

(-)a/t/db_dependent/Koha/Account.t (-4 / +3 lines)
Lines 85-91 subtest 'outstanding_debits() tests' => sub { Link Here
85
85
86
subtest 'add_credit() tests' => sub {
86
subtest 'add_credit() tests' => sub {
87
87
88
    plan tests => 13;
88
    plan tests => 15;
89
89
90
    $schema->storage->txn_begin;
90
    $schema->storage->txn_begin;
91
91
Lines 153-160 subtest 'add_credit() tests' => sub { Link Here
153
        }
153
        }
154
    );
154
    );
155
155
156
    is( $schema->resultset('ActionLog')->count(), 2, 'Log was added' );
156
    is( $schema->resultset('ActionLog')->count(), $action_logs + 2, 'Log was added' );
157
    is( $schema->resultset('Statistic')->count(), 2, 'No action added to statistics, because of credit type' );
157
    is( $schema->resultset('Statistic')->count(), $statistics + 2, 'No action added to statistics, because of credit type' );
158
158
159
    $schema->storage->txn_rollback;
159
    $schema->storage->txn_rollback;
160
};
160
};
161
- 

Return to bug 20980