[Koha-bugs] [Bug 15082] New: t/db_dependent/Search.t shouldn't mock the DB connection
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Oct 29 15:20:34 CET 2015
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15082
Bug ID: 15082
Summary: t/db_dependent/Search.t shouldn't mock the DB
connection
Change sponsored?: ---
Product: Koha
Version: master
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P5 - low
Component: Test Suite
Assignee: chris at bigballofwax.co.nz
Reporter: tomascohen at gmail.com
QA Contact: gmcharlt at gmail.com
DB-dependent tests don't need to mock the DB. Actually, this one is not using
the mock at all, so we might be hiding side effects.
It seems that as the configuration file is created on each test run, we just
need to grab the DB configuration from C4::Context and use it in
rewrite-config.PL to go un-mocked.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list