[Koha-bugs] [Bug 31920] Unit test t/db_dependent/Holds.t leaves behind database cruft

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Oct 21 17:33:22 CEST 2022


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31920

--- Comment #1 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 142409
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=142409&action=edit
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!

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list