]> git.koha-community.org Git - koha.git/commit
Bug 31920: Add transaction to subtest in t/db_dependent/Holds.t
authorKyle Hall <kyle@bywatersolutions.com>
Fri, 21 Oct 2022 15:31:09 +0000 (11:31 -0400)
committerTomas Cohen Arazi <tomascohen@theke.io>
Mon, 24 Oct 2022 14:00:03 +0000 (11:00 -0300)
commit2b8b02a5870e6d5941077106eae8d13c8b29d05a
tree80dee0a450c029720591462a42516eb9c347a113
parent0d2f1aeaf927aba6dfbdc69b0d14a1699784c864
Bug 31920: Add transaction to subtest in t/db_dependent/Holds.t

A subest in t/db_dependent/Holds.t leaves behind database cruft.

Test Plan:
Using koha-testing-docker:
1) SELECT branchcode FROM branches
2) prove t/db_dependent/Holds.t
3) SELECT branchcode FROM branches
   Note cruft
4) reset_all
2) prove t/db_dependent/Holds.t
3) SELECT branchcode FROM branches
   No cruft!

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
t/db_dependent/Holds.t