]> git.koha-community.org Git - koha.git/commit
Bug 18897: Koha_Elasticsearch_Indexer.t doesn't skip when ES module(s) not installed
authorLee Jamison <ldjamison@marywood.edu>
Fri, 25 Aug 2017 11:18:15 +0000 (07:18 -0400)
committerFridolin Somers <fridolin.somers@biblibre.com>
Tue, 3 Oct 2017 15:00:03 +0000 (17:00 +0200)
commitb6b6acf285f98a7da665eac6741cdfc87b089b57
tree5603aae079072b3d10d689f4995270b4e66fd3c8
parent02d518b334596ed585596c614ab31c0656901634
Bug 18897: Koha_Elasticsearch_Indexer.t doesn't skip when ES module(s) not installed

If Catmandu::Importer::MARC is not installed,
Koha_Elasticsearch_Indexer.t fails instead of skipping.
It should skip as ES is not currently mandatory.

Test Plan:
1. Run "prove t/db_dependent/Koha_Elasticsearch_Indexer.t"
   as koha-shell
2. Note failure on test 1/5 indicating module not installed.
3. Apply patch.
4. Re-run "prove t/db_dependent/Koha_Elasticsearch_Indexer.t"
5. Note test now skips.

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Lee Jamison <ldjamison@marywood.edu>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
t/db_dependent/Koha_Elasticsearch_Indexer.t