Koha-clms/t/db_dependent/Koha/Plugins
Marcel de Rooy bfb2a929e3 Bug 35507: Plugins.t - Mock SessionStorage, remove KitchenSink
Removing the CGI::Session behavior to auto-commit by mocking
SessionStorage makes that the $plugin->test_template does no
longer commit.

Since KitchenSink includes a CREATE TABLE, removing that code
removes the second implicit commit. We might move that code
to its own script?

Adds a missing rollback too at the end.

Test plan:
Run prove t/db_dependent/Koha/Plugins/Plugins.t
Verify that no records got added to plugin_data/methods table.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
(cherry picked from commit dc62d9bed5)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2024-01-03 15:15:24 +01:00
..
Account_hooks.t Bug 31895: (QA follow-up) Rollback change, add comment 2022-11-07 11:16:28 -03:00
BackgroundJob.t Bug 31223: Regression tests 2022-08-01 09:03:47 -03:00
Barcode_transform_hooks.t Bug 29857: (follow-up) Fix Barcode_transform_hooks.t 2022-03-02 09:40:05 -10:00
Biblio_and_Items_plugin_hooks.t Bug 29273: Remove warnings from plugin tests 2021-11-15 12:38:39 +01:00
Broken.t Bug 29273: Remove warnings from plugin tests 2021-11-15 12:38:39 +01:00
Circulation_hooks.t Bug 32496: Reduce unnecessary unblessings of objects in Circulation.pm 2023-09-22 10:52:39 -03:00
Holds_hooks.t Bug 31894: (QA follow-up) Move rollbacks to the end 2022-11-09 10:05:37 -03:00
KitchenSinkPlugin.kpz
…
Patron.t Bug 29273: Remove warnings from plugin tests 2021-11-15 12:38:39 +01:00
Plugins.t Bug 35507: Plugins.t - Mock SessionStorage, remove KitchenSink 2024-01-03 15:15:24 +01:00
Recall_hooks.t Bug 32496: Reduce unnecessary unblessings of objects in Circulation.pm 2023-09-22 10:52:39 -03:00
authority_hooks.t Bug 29273: Fix failing tests 2021-11-15 15:06:25 +01:00