[Koha-bugs] [Bug 18897] Elastic related tests do not skip when ES modules are not installed

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Oct 3 16:19:19 CEST 2017


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18897

Tomás Cohen Arazi <tomascohen at gmail.com> changed:

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

--- Comment #20 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 67553
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=67553&action=edit
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 at hotmail.com>
Signed-off-by: Lee Jamison <ldjamison at marywood.edu>
Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>

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


More information about the Koha-bugs mailing list