]> git.koha-community.org Git - koha.git/commit
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)
committerLucas Gass <lucas@bywatersolutions.com>
Mon, 13 May 2024 14:35:24 +0000 (14:35 +0000)
commitf3ff1ccb55d0d111e414295769d19e543dab6a12
treeb8b370e808776e8dae7528c714282ca72761828d
parentf017560b9df7a6613b13de797be8efc3a5446cc9
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>
(cherry picked from commit 1d2165f84106cc27b804ac4c347817d25d1403aa)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 789648aa4cf25d2a94f40ec370c8a4132a9fed13)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
t/db_dependent/FrameworkPlugin.t