[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
Thu Jun 19 01:16:53 CEST 2014


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11891

Galen Charlton <gmcharlt at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #25829|0                           |1
        is obsolete|                            |

--- Comment #7 from Galen Charlton <gmcharlt at gmail.com> ---
Created attachment 28962
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=28962&action=edit
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 at esilibrary.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list