[Koha-bugs] [Bug 17722] t/db_dependent/PatronLists.t doesn't run inside a transaction

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Dec 5 15:21:26 CET 2016


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

--- Comment #1 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 57968
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=57968&action=edit
Bug 17722: Make PatronLists.t run inside a transaction

This patch makes t/db_dependent/PatronLists.t run inside a transaction.
It also makes it generate its own data using t::lib::TestBuilder instead
of relying on sample patrons on the DB.

To test:
- Run:
  $ prove t/db_dependent/PatronLists.t
=> SUCCESS: Tests pass
- Apply the patch
- Run:
  $ prove t/db_dependent/PatronLists.t
=> SUCCESS: Tests pass
- Sign off :-D

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


More information about the Koha-bugs mailing list