[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
Thu Jun 19 13:51:53 CEST 2014


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

Jonathan Druart <jonathan.druart at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #28921|0                           |1
        is obsolete|                            |
  Attachment #28922|0                           |1
        is obsolete|                            |

--- Comment #10 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Created attachment 29008
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=29008&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