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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jul 2 17:30:39 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 #76440|0                           |1
        is obsolete|                            |

--- Comment #22 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 76634
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=76634&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

Signed-off-by: Josef Moravec <josef.moravec at gmail.com>

Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

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


More information about the Koha-bugs mailing list