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)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Mon, 17 Dec 2018 12:08:58 +0000 (12:08 +0000)
commit10148dc26ba801d3f86401dc24a3fb5b6618a02b
tree7ba7fec233ead55cf43231d23c3fbe956d4d91b6
parent3e3f993d817c3ff2322090edd20adf4f28081f17
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>
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