]> git.koha-community.org Git - koha.git/commit
Bug 12868: Improving t/db_dependent/Member.t
authorMark Tompsett <mtompset@hotmail.com>
Wed, 3 Sep 2014 23:09:46 +0000 (19:09 -0400)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Sat, 10 Jan 2015 19:16:51 +0000 (16:16 -0300)
commite6dbae9dbf8ce506d6692cb7abace9c9b3175e3e
tree63fcdc8f38f29864e4382b3d0a0068746653ebc4
parent9d53118f55f0f278a22f846af510edb7fa4477be
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@biblibre.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
t/db_dependent/Members.t