Bug 29868: Add Koha::Old::Hold->anonymize
authorTomas Cohen Arazi <tomascohen@theke.io>
Wed, 12 Jan 2022 19:24:35 +0000 (16:24 -0300)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 11 Feb 2022 00:44:22 +0000 (14:44 -1000)
commitc8c6655bdeffa9426165e6a513f5a7b61e441a9a
treed1f7e6da4cc07c4ae397a5f6826e182742fc07f9
parent6c7fdc38cef8b4c13831f1b93fd4796abfca7c73
Bug 29868: Add Koha::Old::Hold->anonymize

This patch introduces a new method in Koha::Old::Hold. The method is
fully covered by tests.

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

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Andrew Fuerste-Henry <andrew@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Koha/Old/Hold.pm
t/db_dependent/Koha/Hold.t
t/db_dependent/Koha/Old/Hold.t [new file with mode: 0755]