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)
committerKatrin Fischer <katrin.fischer.83@web.de>
Fri, 6 Oct 2017 06:18:12 +0000 (08:18 +0200)
commitecc6542c8c205228dd771388c72fac161c89fc2d
tree47f5c8a45d2a8c472376d62118015103c7f1f188
parent0e5ae1af5de6423c99daa77b31bbe309159ccd62
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>
(cherry picked from commit b6b6acf285f98a7da665eac6741cdfc87b089b57)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
t/db_dependent/Koha_Elasticsearch_Indexer.t