[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 Apr 23 14:39:15 CEST 2021
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27995
Kyle M Hall <kyle at bywatersolutions.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #120078|0 |1
is obsolete| |
Attachment #120079|0 |1
is obsolete| |
Attachment #120080|0 |1
is obsolete| |
--- Comment #17 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 120083
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=120083&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.
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
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