[Koha-bugs] [Bug 21722] Update C4::Accounts::chargelostitem to use Koha::Account->add_debit

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jan 22 10:17:16 CET 2019


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

Josef Moravec <josef.moravec at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #83197|0                           |1
        is obsolete|                            |
  Attachment #83198|0                           |1
        is obsolete|                            |

--- Comment #15 from Josef Moravec <josef.moravec at gmail.com> ---
Created attachment 84276
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=84276&action=edit
Bug 21722: Tidy up tests and increase coverage

This patch moves the chargelostitem 'branchcode' test to within the
'chargelostitem' subtest block in t/db_dependent/Accounts.t. It also
adds tests for additional accountline fields that should be getting
set by this method and adds tests for ProcessingFeeNote before removing
t/db_dependent/Circulation/Chargelostitem.t which covered this
previously.

Sponsored-by: PTFS Europe

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

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


More information about the Koha-bugs mailing list