Bug 36356: Fix rollback from FrameworkPlugin.t
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 19 Mar 2024 08:16:52 +0000 (09:16 +0100)
committerKatrin Fischer <katrin.fischer@bsz-bw.de>
Tue, 19 Mar 2024 09:25:00 +0000 (10:25 +0100)
commit1d2165f84106cc27b804ac4c347817d25d1403aa
tree2a5f021a651c9f20686f807877f3dbcaa0497564
parent24b33936a526187e17719294e236f186aec46d50
Bug 36356: Fix rollback from FrameworkPlugin.t

rollback ineffective with AutoCommit enabled at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1651.

I have not investigated more than that. Reaching this was already the
end of a long road... (see comment 0)

Test plan:
0. Do not apply this patch
1. select count(*) from branches
Note the value
2. Run
  prove t/db_dependent/FrameworkPlugin.t
=> There is a warning
3. Repeat 1.
=> There are too many libraries!
4. Apply the patch, retry 1, 2, 3
=> No warning, no library added by the tests

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
t/db_dependent/FrameworkPlugin.t