Koha-clms/t/db_dependent/Koha
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
..
Account Bug 19919: Unit Tests 2019-07-15 11:28:05 +01:00
Acquisition Bug 22541: Invoice adjustments should show invoice number and include link on ordered.pl and spent.pl 2019-04-11 11:45:24 +00:00
Biblio Bug 22144: (QA follow-up) Prepare the ground for other formats 2019-01-30 11:50:48 +00:00
BiblioUtils Bug 21798: replace gimme_a_biblio with build_sample_biblio 2019-01-28 18:53:28 +00:00
Charges Bug 20912: (follow-up) Improve test coverage 2019-03-07 17:29:00 +00:00
Config Bug 15494: (follow-up) Move yaml syspref code to its own sub in SySpref object 2018-11-07 21:39:39 +00:00
Filter Bug 22721: Remove frameworkcode parameter in GetMarcFromKohaField calls 2019-07-15 11:28:08 +01:00
IssuingRules
…
Item Bug 14334: Remove AutoCommit from tests 2018-12-14 13:42:37 +00:00
Library Bug 21082: Add new admin page for overdrive 2018-10-09 11:04:23 +00:00
Objects/Mixin Bug 15774: (QA follow-up) Fix use statemenets 2019-03-07 20:37:06 +00:00
Patron Bug 23281: Implement ->search_with_library_limits in Koha::Patron::Attribute::Types 2019-08-19 10:20:08 +01:00
Patrons Bug 23077: Fix import of cardnumber 0 2019-07-05 08:41:48 +01:00
Plugins Bug 22709: (RM follow-up) AddBiblio returns a list not a scalar 2019-07-15 12:43:17 +01:00
REST Bug 21073: (QA follow-up) Fix plugin-related tests 2019-06-20 08:35:46 +01:00
SearchEngine Bug 22524: Fix publication date and year search with Elasticsearch 2019-07-26 16:16:11 +01:00
Subscription Bug 17047: SQL reports management with Mana-KB 2019-01-23 14:39:26 +00:00
Tags Bug 21846: Add Koha::Tags::Approval(s) and Koha::Tags::Index(es) 2019-03-15 12:27:44 +00:00
Template/Plugin Bug 21073: (QA follow-up) Fix plugin-related tests 2019-06-20 08:35:46 +01:00
Account.t Bug 22610: (follow-up) Correction to accounts tests 2019-08-05 15:03:02 +01:00
ActionLogs.t Bug 22363: Add tests 2019-03-11 11:22:00 +00:00
ApiKeys.t Bug 21597: Field 'description' doesn't have a default value 2018-10-18 14:18:00 +00:00
Authorities.t
…
Biblio.t Bug 16284: Add Koha::Biblio->is_serial method 2019-08-13 14:36:04 +01:00
BiblioFrameworks.t
…
Biblios.t Bug 21798: (QA follow-up) Fix Biblios.t 2019-01-28 18:53:28 +00:00
Checkouts.t Bug 21432: (bug 20899 follow-up) Fix patron's name display for deleted patrons 2018-10-03 17:18:44 +00:00
CirculationRules.t Bug 22679: Delete related CirculationRules when Removing IssuingRule 2019-04-24 10:35:38 +00:00
Cities.t
…
ClassSortRules.t
…
ClassSources.t Bug 15836: Fix failing tests 2018-11-13 18:53:10 +00:00
ClassSplitRules.t Bug 15836: Handle non-existent regexs 2018-11-13 15:18:22 +00:00
CsvProfiles.t
…
Database.t Bug 21613: Add a test 2018-10-29 00:40:52 +00:00
GetDailyQuote.t Bug 14334: Remove AutoCommit from tests 2018-12-14 13:42:37 +00:00
Holds.t Bug 22008: (follow-up) Additional test fix and fix typo 2019-03-27 13:13:48 +00:00
IssuingRules.t Bug 18928: (bug 22679 follow-up) Do not remove all rules along with the issuing rule 2019-07-01 14:58:13 +01:00
Item.t Bug 22899: (QA follow-up) Change accessor name 2019-05-14 18:08:34 +00:00
ItemTypes.t Bug 20912: Move calculation to Koha::Fees 2019-03-07 17:27:36 +00:00
Items.t Bug 23413: Add a holds method to Koha::Items 2019-08-13 11:30:22 +01:00
KeyboardShortcuts.t Bug 21411: (QA follow-up) fix tests 2019-05-10 18:59:39 +00:00
Libraries.t Bug 7614: Add a new method Koha::Libraries->pickup_locations 2019-01-25 14:46:58 +00:00
MarcSubfieldStructures.t
…
News.t
…
Notices.t
…
Object.t Bug 21610: Add tests 2019-02-01 20:19:54 +00:00
Objects.t Bug 21912: (QA follow-up) Do not delete existing patrons 2019-01-11 13:01:02 +00:00
Patrons.t Bug 14570: Make it possible to add multiple guarantors to a record 2019-08-20 16:04:48 +01:00
Ratings.t
…
Reports.t
…
Reviews.t Bug 21817: Centralize the mock of userenv from tests 2019-01-02 20:18:29 +00:00
SMS_Providers.t
…
SearchField.t Bug 18316: (follow-up) Fix tests and update statement 2018-11-07 22:16:59 +00:00
SharedContent.t Bug 22249: Mana - Move comment process in a dedicated sub 2019-07-26 16:08:08 +01:00
Subscription.t Bug 17047: add a dedicated page for Mana setup 2019-01-23 14:39:26 +00:00
Suggestions.t Bug 22368: Make sure the tests will always pass 2019-03-11 12:53:29 +00:00
Tags.t Bug 21846: Add Koha::Tags::Approval(s) and Koha::Tags::Index(es) 2019-03-15 12:27:44 +00:00
Z3950Servers.t
…