Bug 14334: Remove AutoCommit from tests
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 7 Dec 2018 17:14:06 +0000 (14:14 -0300)
committerLucas Gass <lucas@bywatersolutions.com>
Sat, 22 Dec 2018 22:03:55 +0000 (22:03 +0000)
commit61784f5e2607afaa1a89ee3a4384ea0155bacba0
tree562d8146658a8de99e5cceb562ebe0fcd7e6c9e6
parente2cfc2615c119252e5c317059312c0d020f2924f
Bug 14334: Remove AutoCommit from tests

And use a DBIx transaction instead.

Test plan:
prove that the test files modified by this patch are passing

Signed-off-by: Josef Moravec <josef.moravec@gmail.com>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 64242cabea21e9ee7673666cad88eb403d1053d6)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 10148dc26ba801d3f86401dc24a3fb5b6618a02b)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
36 files changed:
t/db_dependent/Acquisition/FillWithDefaultValues.t
t/db_dependent/AdditionalField.t
t/db_dependent/Auth_with_cas.t
t/db_dependent/BackgroundJob.t
t/db_dependent/Charset.t
t/db_dependent/Circulation/CheckIfIssuedToPatron.t
t/db_dependent/Circulation/CheckValidBarcode.t
t/db_dependent/Circulation/GetHardDueDate.t
t/db_dependent/Circulation/OfflineOperation.t
t/db_dependent/ColumnsSettings.t
t/db_dependent/Contract.t
t/db_dependent/Fines.t
t/db_dependent/Koha/GetDailyQuote.t
t/db_dependent/Koha/Item/Search/Field.t
t/db_dependent/Koha_Misc_Files.t
t/db_dependent/Labels/t_Batch.t
t/db_dependent/Languages.t
t/db_dependent/Letters/GetLetterTemplates.t
t/db_dependent/Letters/GetLettersAvailableForALibrary.t
t/db_dependent/LibraryGroups.t
t/db_dependent/MarcModificationTemplates.t
t/db_dependent/MungeMarcPrice.t
t/db_dependent/NewsChannels.t
t/db_dependent/Overdues.t
t/db_dependent/Record.t
t/db_dependent/Record/marcrecord2csv.t
t/db_dependent/RotatingCollections.t
t/db_dependent/Serials.t
t/db_dependent/Serials/Claims.t
t/db_dependent/Serials/Frequency.t
t/db_dependent/Serials/GetNextSeq.t
t/db_dependent/Serials/Numberpattern.t
t/db_dependent/Stats.t
t/db_dependent/Virtualshelves.t
t/db_dependent/XISBN.t
t/db_dependent/sysprefs.t