[Koha-bugs] [Bug 11891] Make Koha::Schema use C4::Context->dbh
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Mar 4 19:34:18 CET 2014
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11891
--- Comment #1 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 25828
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=25828&action=edit
Bug 11891 - Make Koha::Schema use C4::Context->dbh
Right now there is no connection between the database handles used by
C4::Context::dbh and Koha::Datbase/Schema. This makes it impossible to
use transactions in unit tests to temporarily modify the database to
test subroutines that take advantage of Koha::Database. This patch fixes
that issue.
Test Plan:
1) Apply the patch for bug 11634
2) prove t/db_dependent/Circulation.t should fail
3) Apply this patch
4) prove t/db_dependent/Circulation.t should not fail
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list