[Koha-bugs] [Bug 8649] C4::Search needs a unit test

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Aug 16 18:50:22 CEST 2012


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

--- Comment #2 from Jared Camins-Esakov <jcamins at cpbibliography.com> ---
Created attachment 11642
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=11642&action=edit
Bug 8649: Add unit test for C4::Search

This patch adds a unit test for C4::Search in t/db_dependent. In order
to test the functioning of the Zebra search, this patch actually includes
an entire Zebra sandbox, and pre-indexed files, which are stored in
t/db_dependent/data (the configuration files are generated on the fly).

This test depends on Test::Warn, Test::MockModule, and DBD::Mock.

To test:
1) Run the test. There should be no failures, and no warnings.

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


More information about the Koha-bugs mailing list