[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
Mon Oct 1 11:26:55 CEST 2012


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

Jared Camins-Esakov <jcamins at cpbibliography.com> changed:

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

--- Comment #2 from Jared Camins-Esakov <jcamins at cpbibliography.com> ---
Created attachment 12617
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=12617&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

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


More information about the Koha-bugs mailing list