[Koha-bugs] [Bug 19066] Add branchcode to accountlines
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Dec 12 09:59:22 CET 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=19066
Martin Renvoize <martin.renvoize at ptfs-europe.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #83075|0 |1
is obsolete| |
--- Comment #79 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 83084
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=83084&action=edit
Bug 19066: Add tests for Koha::Account->pay
This patch adds tests for Koha::Account->pay, to make sure the
library_id param is used to set the branchcode attribute. The use of
userenv to set branchcode if library_id not passed is removed.
Responsability is left to the callers to pass library_id.
To test:
- Run:
$ kshell
k$ prove t/db_dependent/Koha/Account.t
=> SUCCESS: Tests pass!
Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list