]> 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)
committerLucas Gass <lucas@bywatersolutions.com>
Mon, 5 Dec 2022 21:34:21 +0000 (21:34 +0000)
commit992d2b01f71e8dcb5f0ac6ea303ff8ecc618ab14
tree69c021429d1eb00f4fc063b0d57b4f23483bd6a0
parent1a322a33e1382a074e7bc65f3e4815336fc6c1d7
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>
(cherry picked from commit 2b8b02a5870e6d5941077106eae8d13c8b29d05a)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
t/db_dependent/Holds.t