]> git.koha-community.org Git - koha.git/commit
Bug 14544: [QA Follow-up] Fix warning about transaction
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Fri, 9 Oct 2015 11:26:39 +0000 (13:26 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Thu, 5 Nov 2015 13:00:31 +0000 (10:00 -0300)
commit2cd747729a282b50c2a1acf8657f188a05172604
treea7d80ab7ff9d453c25a798dc32b87960d6d1f169
parent73b88b9738cf3116cb6a55126ae000b47e62dea8
Bug 14544: [QA Follow-up] Fix warning about transaction

When running Virtualshelves.t, you have this warning:
DBD::mysql::db begin_work failed: Already in a transaction at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1339.

By moving the DBI lines after creating the TestBuilder object, the warning
will be gone.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
t/db_dependent/Virtualshelves.t