]> git.koha-community.org Git - koha.git/commit
Bug 30023: Add Koha::Old::Checkout->anonymize
authorTomas Cohen Arazi <tomascohen@theke.io>
Fri, 4 Feb 2022 11:40:13 +0000 (08:40 -0300)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 2 Mar 2022 08:47:47 +0000 (22:47 -1000)
commitbafd1c25e9891ea3bc019fcad2c5d2191b9aa935
tree047d0994152668a54e0fb43a79ab89dc4c696f87
parentc4e5e04f57f61ff11b7b3cfd9085e5e61722f97d
Bug 30023: Add Koha::Old::Checkout->anonymize

This patch adds the mentioned method. It replicates the Koha::Old::Hold
behavior, including the exception thrown on bad configuration.

To test:
1. Apply this patch
2. Run:
   $ kshell
  k$ prove t/db_dependent/Koha/Old/Checkout.t
=> SUCCESS: Test 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>
Koha/Old/Checkout.pm
t/db_dependent/Koha/Old/Checkout.t [new file with mode: 0755]