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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Dec 11 13:49:14 CET 2014


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

M. de Rooy <m.de.rooy at rijksmuseum.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #33942|0                           |1
        is obsolete|                            |
  Attachment #33943|0                           |1
        is obsolete|                            |

--- Comment #12 from M. de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 34314
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=34314&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.

Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>

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


More information about the Koha-bugs mailing list