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

(-)a/Koha/Account.pm (-1 / +1 lines)
Lines 263-269 sub add_credit { Link Here
263
                        action  => "add_credit",
263
                        action  => "add_credit",
264
                        payload => {
264
                        payload => {
265
                            type => lc($credit_type),
265
                            type => lc($credit_type),
266
                            line => $line->get_from_storage
266
                            line => $line->get_from_storage, #TODO Seems unneeded
267
                        }
267
                        }
268
                    }
268
                    }
269
                );
269
                );
(-)a/t/db_dependent/Koha/Plugins/Account_hooks.t (-2 / +1 lines)
Lines 69-74 subtest 'Koha::Account tests' => sub { Link Here
69
    qr/after_account_action called with action: add_credit, type: payment, ref: Koha::Account::Line/,
69
    qr/after_account_action called with action: add_credit, type: payment, ref: Koha::Account::Line/,
70
      '->add_credit calls the after_account_action hook with type payment';
70
      '->add_credit calls the after_account_action hook with type payment';
71
71
72
    $schema->storage->txn_rollback;
73
    Koha::Plugins::Methods->delete;
72
    Koha::Plugins::Methods->delete;
73
    $schema->storage->txn_rollback;
74
};
74
};
75
- 

Return to bug 31895