[Koha-bugs] [Bug 17836] (ILSDI) 'charges' always '1'

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jan 3 17:28:33 CET 2017


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

--- Comment #2 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 58569
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=58569&action=edit
Bug 17836: (ILSDI) Make GetPatronInfo fill 'charges' correctly

This trivial fix corrects a typo on C4/ILSDI/Services.pm.
It was hidden because the tests for ILSDI only cover the 'attributes'
portion of the response. I added regression tests for this.

To test:
- Have the regression test patch applied
- Run:
  $ prove t/db_dependent/ILSDI_Services.t
=> FAIL: Tests fail because 'charges' is always set to 1
- Apply the patch
- Run:
  $ prove t/db_dependent/ILSDI_Services.t
=> SUCCESS: Tests pass
- Sign off :-D

Sponsored-by: ByWater Solutions

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


More information about the Koha-bugs mailing list