[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
Fri Oct 5 15:56:33 CEST 2012


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

Kyle M Hall <kyle at bywatersolutions.com> changed:

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

--- Comment #3 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 12710
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=12710&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>
Followed test plan, everything checks out.

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


More information about the Koha-bugs mailing list