]> git.koha-community.org Git - koha.git/commit
Bug 11891: set up tests to require that Koha::Database uses same DB handle as C4...
authorGalen Charlton <gmc@esilibrary.com>
Mon, 26 May 2014 18:39:11 +0000 (18:39 +0000)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Thu, 19 Jun 2014 14:54:45 +0000 (11:54 -0300)
commit610b41434704583a51959e52937e4a7170a18258
tree6bcada0a5a0513bc66dc3de5d2f567a34d681ff9
parent76596ff6dc09b6443f23b0d3cdb01ff3aa4ac5d5
Bug 11891: set up tests to require that Koha::Database uses same DB handle as C4::Context

This patch removes changes in two cases to work around the fact that
Koha::Database and C4::Context were not using the same DBI database
handle.

To test:

[1] Run prove -v t/db_dependent/ILSDI_Services.t and
    prove -v t/db_dependent/Items.t.  Both tests
    should fail.
[2] Apply the main patches and run step 1 again.  This
    time, both tests should pass.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
t/db_dependent/ILSDI_Services.t
t/db_dependent/Items.t