]> git.koha-community.org Git - koha.git/commit
Bug 31095: Remove GetDebarments from Borrower_Debarments.t
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 25 Aug 2022 09:16:46 +0000 (10:16 +0100)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 31 Jan 2023 13:19:40 +0000 (10:19 -0300)
commit52c786205e00afb17d0757483c157387dd229445
tree892048e0740fe596be9a74983aaf7b30352c32e0
parent4a3a22f2b43174a61220e651400f9207a1b5d97e
Bug 31095: Remove GetDebarments from Borrower_Debarments.t

This patch replaces calls to GetDebarments with teh
$patron->restritions->search() equivilents.

Test plan
1. Run the test prior to the patch and confirm it passes
2. Run the test after the patch and confirm it passes
3. Confirm no tests were removed

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
t/db_dependent/Patron/Borrower_Debarments.t