[Koha-bugs] [Bug 27995] Koha::Account::Line->apply should return the update Koha::Account::Line object

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Mar 19 12:28:42 CET 2021


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

--- Comment #1 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 118511
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=118511&action=edit
Bug 27995: Unit tests

This patch updates the unit tests for Koha::Account::Line->apply to
reflect the change we wish to make to the return value.

Instead of returning the scalar amount of available credit left on the
credit line after calling apply, we want to return the full, updated,
Koha::Account::Line object including Koha::Object::Messages for the
result of renewals that may have taken place.

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


More information about the Koha-bugs mailing list