Koha/t/db_dependent/Circulation
Tomas Cohen Arazi 42181dfce7 Bug 30023: Make MarkIssueReturned use ->anonymize
Koha::Old::Checkout->anonymize takes care of checking the syspref and
raises an exception if not set. So no we can now leverage on it, instead
of checking manually and then tweaking the checkout object manually as
well.

To test:
1. Apply this patch
2. Run:
   $ kshell
  k$ prove t/db_dependent/Circulation/MarkIssueReturned.t
=> SUCCESS: Tests pass!
3. Sign off :-D

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-03-01 22:47:47 -10:00
..
IssuingRules
Branch.t
CalcDateDue.t
CalcFine.t
CheckIfIssuedToPatron.t
CheckValidBarcode.t
dateexpiry.t
GetHardDueDate.t
GetPendingOnSiteCheckouts.t
GetTopIssues.t
IsItemIssued.t Bug 29788: Make Koha::Item->safe_to_delete use Koha::Result::Boolean 2022-01-11 12:38:35 -10:00
issue.t
MarkIssueReturned.t Bug 30023: Make MarkIssueReturned use ->anonymize 2022-03-01 22:47:47 -10:00
NoIssuesChargeGuarantees.t
OfflineOperation.t
ReturnClaims.t
Returns.t
StoreLastBorrower.t
SwitchOnSiteCheckouts.t
TooMany.t
transferbook.t
transfers.t