[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 19:16:45 CEST 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=20978
Tomás Cohen Arazi <tomascohen at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #76241|0 |1
is obsolete| |
--- Comment #5 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 76244
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=76244&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.
More information about the Koha-bugs
mailing list