Koha/t/db_dependent/Patron
Kyle M Hall 109334102f
Bug 14570: Make it possible to add multiple guarantors to a record
This patch adds the ability to set an unlimited number of guarantors
for a given patron. As before, each guarantor may be linked to another
Koha patron, and all the behavior that applies to a given guarantor
remains the same.

Test Plan:
 1) Apply this patch
 2) Run updatedatabase.pl
 3) Find some patrons with guarantors, verify the still have their guarantor
 4) Test adding and removing guarantors on a patron record, both Koha users and not
 5) Verify the "Add child" button works
 6) Verify NoIssuesChargeGuarantees still works
 7) Verify tools/cleanborrowers.pl will not delete a guarantor
 8) Verify the guarantors are displayed on moremember.pl
 9) Verify the guarantor is removed by members/update-child.pl
10) Verify the guarantor is removed by misc/cronjobs/j2a.pl
11) Verify import patrons converts guarantor_id, relationship, contactfirstname,
  and contactsurname into a guarantor
12) prove t/Patron.t
13) prove t/db_dependent/Circulation.t
14) prove t/db_dependent/Circulation/NoIssuesChargeGuarantees.t
15) prove t/db_dependent/Items.t
16) prove t/db_dependent/Koha/Patrons.t
17) prove t/db_dependent/Members.t
18) prove t/db_dependent/Patron/Relationships.t

Signed-off-by: Kim Peine <kmpeine@gmail.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Agustin Moyano <agustinmoyano@theke.io>
Signed-off-by: Liz Rea <wizzyrea@gmail.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2019-08-20 16:04:48 +01:00
..
Borrower_Debarments.t Bug 20287: Replace occurrences of AddMember with Koha::Patron->new->store->borrowernumber 2018-07-18 15:49:47 +00:00
Borrower_Discharge.t Bug 21817: Centralize the mock of userenv from tests 2019-01-02 20:18:29 +00:00
Borrower_Files.t Bug 20287: Replace occurrences of AddMember with Koha::Patron->new->store->borrowernumber 2018-07-18 15:49:47 +00:00
Borrower_PrevCheckout.t Bug 16284: Add test 2019-08-13 14:35:51 +01:00
Housebound.t Bug 18292: Remove return 1 statements in tests 2017-08-15 12:17:42 -03:00
HouseboundProfiles.t Bug 18292: Remove return 1 statements in tests 2017-08-15 12:17:42 -03:00
HouseboundRoles.t Bug 19867: Prevent HouseboundRoles.t to fail randomly 2017-12-21 15:40:17 -03:00
HouseboundVisits.t Bug 18292: Remove return 1 statements in tests 2017-08-15 12:17:42 -03:00
Messages.t Bug 13515: Add unit tests 2019-02-15 13:12:22 +00:00
Relationships.t Bug 14570: Make it possible to add multiple guarantors to a record 2019-08-20 16:04:48 +01:00