[Koha-bugs] [Bug 8846] t/SuggestionEngine_ExplodedTerms.t sneakily uses database
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Oct 31 22:10:49 CET 2012
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8846
Jared Camins-Esakov <jcamins at cpbibliography.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #12710|0 |1
is obsolete| |
--- Comment #11 from Jared Camins-Esakov <jcamins at cpbibliography.com> ---
Created attachment 13157
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=13157&action=edit
Bug 8846: Exploded Terms test sneakily uses database
Even though there is no need for anything stored in the database for the
test, C4::Templates requires the database and a koha-conf.xml. The
solution is to mock all database- and koha-conf-using routines.
To test:
1) Stop MySQL
2) Unset KOHA_CONF
3) Run test
Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>
Signed-off-by: Jared Camins-Esakov <jcamins at cpbibliography.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list