[Koha-bugs] [Bug 19066] Add branchcode to accountlines

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Nov 8 15:19:43 CET 2018


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

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

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


More information about the Koha-bugs mailing list