Bug 25855: (QA follow-up) Simplify payload
authorTomas Cohen Arazi <tomascohen@theke.io>
Thu, 23 Jul 2020 14:00:11 +0000 (11:00 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 30 Jul 2020 15:30:23 +0000 (17:30 +0200)
commit9932ce33156305d7ebe3c8192bda8f1450f20b2a
treecd161a8971b553da0a7e1bd8e5c0d5bb9058a033
parent2ac260ca6c0716c47d7138aeeeabb80a50599f75
Bug 25855: (QA follow-up) Simplify payload

This patch makes the hook be passed the Koha::Checkout object instead
of a hand-crafted list of attributes.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
C4/Circulation.pm
t/db_dependent/Koha/Plugins/Circulation_hooks.t
t/lib/Koha/Plugin/Test.pm