]> git.koha-community.org Git - koha.git/commit
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)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Tue, 24 Jun 2014 12:42:53 +0000 (09:42 -0300)
commit486f3a3edaf0ecbb841f98e6854f7ca0968ecb2d
tree92992e7dc054e377b5cf51fb4628d18c58377813
parent6f4baf2c59ff00b64a0beb891605c2dd4a7452a6
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>
t/db_dependent/Members_Attributes.t [new file with mode: 0755]