View | Details | Raw Unified | Return to bug 18897
Collapse All | Expand All

(-)a/t/db_dependent/Koha_Elasticsearch_Indexer.t (-2 / +5 lines)
Lines 29-35 my $schema = Koha::Database->schema(); Link Here
29
29
30
eval { require Koha::SearchEngine::Elasticsearch::Indexer; };
30
eval { require Koha::SearchEngine::Elasticsearch::Indexer; };
31
if ( $@ ) {
31
if ( $@ ) {
32
    my $es_dep_msg = "Required module Catmandu::Importer::MARC is not installed";
32
    my $missing_module;
33
    if ( $@ =~ /Can\'t locate (.*?) / ) {
34
        $missing_module = $1;
35
    }
36
    my $es_dep_msg = "Required module $missing_module is not installed";
33
    plan( skip_all => $es_dep_msg );
37
    plan( skip_all => $es_dep_msg );
34
}
38
}
35
else {
39
else {
36
- 

Return to bug 18897