[Koha-bugs] [Bug 12427] C4::Members::Attributes.pm needs unit tests

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jun 23 02:28:58 CEST 2014


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

Bernardo Gonzalez Kriegel <bgkriegel at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #29008|0                           |1
        is obsolete|                            |

--- Comment #13 from Bernardo Gonzalez Kriegel <bgkriegel at gmail.com> ---
Created attachment 29153
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=29153&action=edit
[SIGNED-OFF] Bug 12427: adding unit tests of module C4::Members::Attributes.pm

The subroutines UpdateBorrowerAttribute, SearchIdMatchingAttribute,
DeleteBorrowerAttribute, GetBorrowerAttributes, GetAttributes,
GetBorrowerAttributeValue, SetBorrowerAttributes and CheckUniqueness of the
module C4::Members::Attributes.pm were not tested.

Test plan:
1/ Execute the command: prove t/db_dependent/Members_Attributes.t
2/ The result has to be:
t/db_dependent/Members_Attributes.t .. ok
All tests successful.
Files=1, Tests=60,  2 wallclock secs ( 0.04 usr  0.01 sys +  1.45 cusr  0.08
csys =  1.58 CPU)
Result: PASS

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
Test with patrons on db having issues and attributes
New test file, all test pass
No koha-qa errors

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


More information about the Koha-bugs mailing list