]> git.koha-community.org Git - koha.git/commit
Bug 15081: (followup) Make test files using TestBuilder handle their transactions
authorTomas Cohen Arazi <tomascohen@theke.io>
Sun, 1 Nov 2015 19:39:37 +0000 (16:39 -0300)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 4 Nov 2015 15:32:57 +0000 (12:32 -0300)
commit9d82253d0a8393933fa091fb4596df3007c52871
tree68d1e1d18c85ba64a7b25d21d4079dc92bc7fcbd
parent00900e8a51ca465080f25f61f3eed3bce60dcd9e
Bug 15081: (followup) Make test files using TestBuilder handle their transactions

This trivial patch introduces the code needed on the test files so they handle
the DB transaction instead of relying on the (removed) transaction started/rolled back
by TestBuilder.

Tested all of the files before and after applying the patch, resultes are the same.
(Pass exept of t/db_dependent/Barcodes_ValueBuilder.t, this has the same error).
Signed-off-by: Marc VĂ©ron <veron@veron.ch>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
15 files changed:
t/db_dependent/Accounts.t
t/db_dependent/Barcodes_ValueBuilder.t
t/db_dependent/Borrower_Discharge.t
t/db_dependent/Category.t
t/db_dependent/Circulation/AnonymiseIssueHistory.t
t/db_dependent/Circulation/TooMany.t
t/db_dependent/Circulation_dateexpiry.t
t/db_dependent/Exporter/Record.t
t/db_dependent/Holds.t
t/db_dependent/Holidays.t
t/db_dependent/Items.t
t/db_dependent/Items/MoveItemFromBiblio.t
t/db_dependent/Koha/Cities.t
t/db_dependent/Members/GetUpcomingMembershipExpires.t
t/db_dependent/Reserves/GetReserveFee.t