]> 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)
committerArthur Suzuki <arthur.suzuki@biblibre.com>
Fri, 16 Dec 2022 13:42:48 +0000 (14:42 +0100)
commita5080a81c006c97ebb2b61ffac8ec95c3bfe7b80
tree47e465b9ec3d94e50aea3c6db8f0bd27f231a8e2
parent2798a650b4fdcb0e425e0f720d4e3ee4e307ba5b
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>
(cherry picked from commit 992d2b01f71e8dcb5f0ac6ea303ff8ecc618ab14)
Signed-off-by: Arthur Suzuki <arthur.suzuki@biblibre.com>
t/db_dependent/Holds.t