[Koha-bugs] [Bug 10298] t::lib::Mocks tries to deal with syspref but doesn not manage to
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri Aug 9 02:07:21 CEST 2013
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10298
Chris Cormack <chris at bigballofwax.co.nz> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #19010|0 |1
is obsolete| |
--- Comment #11 from Chris Cormack <chris at bigballofwax.co.nz> ---
Created attachment 20207
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=20207&action=edit
Bug 10298: Adapt existing code
set_solr and set_zebra is not really useful. It is preferable to use
mock_preference directly.
To test:
1/ Launch Solr
2/ prove -r t/searchengine/
It should produce:
% prove -r t/searchengine/
t/searchengine/000_conn/conn.t ........... ok
t/searchengine/001_search/search_base.t .. ok
t/searchengine/002_index/index_base.t .... IndexRecord called with biblio 2
Indexing biblio 2
t/searchengine/002_index/index_base.t .... ok
t/searchengine/003_query/buildquery.t .... ok
t/searchengine/004_config/load_config.t .. ok
All tests successful.
Files=5, Tests=21, 4 wallclock secs ( 0.03 usr 0.01 sys + 2.74 cusr
0.20 csys = 2.98 CPU)
Result: PASS
Signed-off-by: Julian Maurice <julian.maurice at biblibre.com>
Signed-off-by: Chris Cormack <chrisc at catalyst.net.nz>
Had to get Solr going again to test this, man .. they could make that
easier
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list