]> git.koha-community.org Git - koha.git/commit
Bug 21468: (QA follow-up) Simplify payload
authorTomas Cohen Arazi <tomascohen@theke.io>
Thu, 23 Jul 2020 14:52:57 +0000 (11:52 -0300)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 30 Jul 2020 15:30:24 +0000 (17:30 +0200)
commit67c54c2c23be60df3efd1c7428ba870c0d5192f8
treeaf9adb5afa746c38fa99ee011b1eaf114659c15b
parenta658db8f7e8d94b463bc6f064753f4ad2aaa48e9
Bug 21468: (QA follow-up) Simplify payload

This patch simplifies the payload as suggested on bug 25855. It also
keeps some specific params that cannot be deduced from the passed
checkout object, (e.g. if it is an onsite checkout).

Tests are cleared and added for this special exceptions.

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