Bug 27155: Include identifier test in Biblio_and_Items_plugin_hooks.t
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Tue, 28 Sep 2021 11:50:22 +0000 (11:50 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 29 Sep 2021 09:34:20 +0000 (11:34 +0200)
commit2ae5204bfe0f46b37ec65255c65e901d9a7289a6
tree962f0273116843610a60b724863d7a2cda027685
parentc8257a4ecfcc97e59aa474cbfb844179c0467d1b
Bug 27155: Include identifier test in Biblio_and_Items_plugin_hooks.t

The biblio and item action hooks pass a biblionumber or itemnumber now
to the plugin at time of deletion.
This patch adds a tiny refinement to Biblio_and_Items_plugin_hooks.t
and the associated test plugin to be sure of that.

Test plan:
Run t/db_dependent/Koha/Plugins/Biblio_and_Items_plugin_hooks.t

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
t/db_dependent/Koha/Plugins/Biblio_and_Items_plugin_hooks.t
t/lib/Koha/Plugin/Test.pm