[Koha-bugs] [Bug 12868] GetMemberDetails calls GetMemberAccountRecords incorrectly

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Sep 4 01:20:44 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=12868

--- Comment #1 from M. Tompsett <mtompset at hotmail.com> ---
Created attachment 31354
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=31354&action=edit
Bug 12868: Improving t/db_dependent/Member.t

The mock function of GetMemberAccountRecord did not properly
account for the undef case. This was corrected.

Then all 4 combinations of borrower number and card number being
defined or not were called to GetMemberDetail.

The problematic test case is where the borrower number is
undefined and the cardnumber is defined.

TEST PLAN
---------
1) Apply just this first patch.
2) prove -v t/db_dependent/Member.t
   -- This should fail!
3) Run koha QA test tools.

-- 
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