https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36453
--- Comment #16 from Arthur Suzuki <[email protected]> --- Created attachment 164768 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=164768&action=edit Bug 36453: Update tests Address new new version of system pref Address new version of categories DB table BlockExpiredPatronOpacActions column Test plan, k-t-d, BEFORE applying patch: 1) Edit some patron categories, visit: /cgi-bin/koha/admin/categories.pl 2) Set different values for the "Block expired patrons" input config Set a category to block Set a category to don't block Set a category to follow the syspref 3) Take note of the current value of the BlockExpiredPatronOpacActions sys pref Apply patch, then run the following commands - koha-plack --restart kohadev - yarn css:build - run updatedatabase 4) Visit the patron categories you edited before, make sure they all have the correct values for the new config type 5) Check the BlockExpiredPatronOpacActions sys pref and make sure the new value is correct according to what was before 6) Add a new patron of one of the above categories, test that: If 'hold' is a blocked action, patron is unable to place a hold in OPAC If 'renew' is a blocked action, patron is unable to renew in OPAC If 'follow sys pref' is the option, check that a patron may place a hold or renew an item according to the BlockExpiredPatronOpacActions sys pref value prove t/db_dependent/Circulation.t prove t/db_dependent/ILSDI_Services.t prove t/db_dependent/Koha/Object.t prove t/db_dependent/Koha/Patron/Categories.t Signed-off-by: Arthur Suzuki <[email protected]> -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
