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

(-)a/t/db_dependent/Koha_Elasticsearch_Indexer.t (-3 / +11 lines)
Lines 17-27 Link Here
17
17
18
use Modern::Perl;
18
use Modern::Perl;
19
19
20
use Test::More tests => 5;
20
use Test::More;
21
21
22
use MARC::Record;
22
use MARC::Record;
23
23
24
use_ok('Koha::SearchEngine::Elasticsearch::Indexer');
24
eval { require Koha::SearchEngine::Elasticsearch::Indexer; };
25
26
if ( $@ ) {
27
    my $es_dep_msg = 'Required module Catmandu::Importer::MARC is not installed';
28
    plan( skip_all => $es_dep_msg );
29
}
30
else {
31
    plan tests => 5;
32
    use_ok('Koha::SearchEngine::Elasticsearch::Indexer');
33
}
25
34
26
my $indexer;
35
my $indexer;
27
ok(
36
ok(
28
- 

Return to bug 18897