[Koha-bugs] [Bug 31095] Move Koha::Patron::Debarment into Koha::Object based classes

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Aug 25 11:32:19 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31095

--- Comment #28 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 139756
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=139756&action=edit
Bug 31095: Remove GetDebarments from Restriction/Type.t

This patch replaces GetDebarments with $patron->restrictions in
t/db_dependent/Koha/Patron/Restriction/Type.t

Test plan
1. Confirm t/db_dependent/Koha/Patron/Restriction/Type.t passes prior to
   the patch
2. Confirm t/db_dependent/Koha/Patron/Restriction/Type.t passes after
   the patch
3. Confirm no tests were removed

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list