[Koha-bugs] [Bug 20978] Add Koha::Account::add_credit

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Jun 21 18:07:49 CEST 2018


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20978

--- Comment #2 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 76241
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=76241&action=edit
Bug 20978: Add Koha::Account::add_credit

This patch adds:
- Koha::Account::add_credit
- A single source of truth for accounttype and offset_type values

To test:
- Apply the first patch
- Run:
  $ kshell
 k$ prove t/db_dependent/Koha/Account.t
=> FAIL: Tests fail!
- Apply this patch
- Run:
 k$ prove t/db_dependent/Koha/Account.t
=> SUCCESS: Tests pass!
- Sign off :-D

-- 
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.


More information about the Koha-bugs mailing list