[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
Wed Jun 18 09:16:40 CEST 2014


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

Yohann Dufour <yohann.dufour at biblibre.com> changed:

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

--- Comment #2 from Yohann Dufour <yohann.dufour at biblibre.com> ---
Created attachment 28921
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=28921&action=edit
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

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


More information about the Koha-bugs mailing list