Koha/t/lib
Tomas Cohen Arazi 99a640fd75 Bug 26470: Regression tests
This patch tweaks the test plugin so it composes an exception based on
the fact that the hook was called with the item and item_id parameters
defined.

It then makes the tests expect a specific exception message with
information about this.

To test:
1. Apply this patch
2. Run:
   $ kshell
  k$ prove t/db_dependent/Koha/Plugins/Biblio_and_Items_plugin_hooks.t
=> FAIL: Tests fail!

Signed-off-by: David Nind <david@davidnind.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: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2020-09-18 10:38:01 +02:00
..
Koha/Plugin Bug 26470: Regression tests 2020-09-18 10:38:01 +02:00
QA Bug 11529: (RM follow-up) Add WHILE to directive list 2019-08-05 18:43:26 +01:00
Dates.pm
Mocks.pm Bug 17845: Remove some missed references to branchprinter 2020-03-10 15:18:28 +00:00
Selenium.pm Bug 26162: Don't fall into an infinite loop 2020-08-19 08:19:11 +02:00
TestBuilder.pm Bug 23816: Set default value in tests 2020-09-09 15:39:52 +02:00