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 Bug 28931: Use EXPORT_OK from Koha::DateUtils 2021-10-07 11:01:05 +02:00
Branch.t Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
CalcDateDue.t Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
CalcFine.t Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
CheckIfIssuedToPatron.t Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
CheckValidBarcode.t Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
dateexpiry.t Bug 28931: Use EXPORT_OK from Koha::DateUtils 2021-10-07 11:01:05 +02:00
GetHardDueDate.t Bug 28931: Use EXPORT_OK from Koha::DateUtils 2021-10-07 11:01:05 +02:00
GetPendingOnSiteCheckouts.t Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
GetTopIssues.t Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
IsItemIssued.t Bug 29788: Make Koha::Item->safe_to_delete use Koha::Result::Boolean 2022-01-11 12:38:35 -10:00
issue.t Bug 28931: Use EXPORT_OK from Koha::DateUtils 2021-10-07 11:01:05 +02:00
MarkIssueReturned.t Bug 30023: Make MarkIssueReturned use ->anonymize 2022-03-01 22:47:47 -10:00
NoIssuesChargeGuarantees.t Bug 22435: Update unit tests 2021-08-04 14:06:43 +02:00
OfflineOperation.t Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
ReturnClaims.t Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
Returns.t Bug 28931: Use EXPORT_OK from Koha::DateUtils 2021-10-07 11:01:05 +02:00
StoreLastBorrower.t Bug 28931: Use EXPORT_OK from Koha::DateUtils 2021-10-07 11:01:05 +02:00
SwitchOnSiteCheckouts.t Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
TooMany.t Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
transferbook.t Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
transfers.t Bug 28931: Use EXPORT_OK from Koha::DateUtils 2021-10-07 11:01:05 +02:00