]> git.koha-community.org Git - koha.git/commit
Bug 30194: (26351 follow-up) Silence useless warning
authorTomas Cohen Arazi <tomascohen@theke.io>
Tue, 8 Mar 2022 19:08:26 +0000 (16:08 -0300)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 29 Mar 2022 14:44:31 +0000 (16:44 +0200)
commit658b292511483f39e24b66b05f2723a4bfac419e
tree77a74b51be59861e9d9cd0bca0c3fd345365ca86
parent27698df8f859a8e526fdca9ffd8904364f2e120b
Bug 30194: (26351 follow-up) Silence useless warning

Every place in which Koha::Plugin::Test is loaded, and a patron is
updated, this hook needs to be silenced.

To reproduce:
1. Run:
   $ kshell
  k$ prove t/db_dependent/Koha/REST/Plugin/PluginRoutes.t
=> FAIL: There's a warn about patron_barcode_transform
2. Apply this patch
3. Repeat 1
=> SUCCESS: Tests pass!
4. Sign off :-D

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Mason James <mtj@kohaaloha.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
t/db_dependent/Koha/REST/Plugin/PluginRoutes.t