Bug 12427: adding unit tests of module C4::Members::Attributes.pm
authorYohann Dufour <dufour.yohann@gmail.com>
Tue, 17 Jun 2014 14:53:14 +0000 (16:53 +0200)
committerGalen Charlton <gmc@esilibrary.com>
Wed, 25 Jun 2014 22:35:59 +0000 (22:35 +0000)
commit217ef61b6662181ebdcf6caaf34d9f9c898ffd4c
treef2b3c2014189c804965d995cacd5f9e43bdfd0b1
parentdb5481bc4b4b21b8d72abdcfcf3534e63537caa9
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@gmail.com>
Test with patrons on db having issues and attributes
New test file, all test pass
No koha-qa errors

Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
t/db_dependent/Members_Attributes.t [new file with mode: 0755]