@@ -, +, @@ -- interactive apply just the first patch -- Note that the message says the wrong library is missing. -- interactive apply this patch -- Note that the message says the correct library is missing. --- t/db_dependent/Koha_Elasticsearch_Indexer.t | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) --- a/t/db_dependent/Koha_Elasticsearch_Indexer.t +++ a/t/db_dependent/Koha_Elasticsearch_Indexer.t @@ -29,7 +29,11 @@ my $schema = Koha::Database->schema(); eval { require Koha::SearchEngine::Elasticsearch::Indexer; }; if ( $@ ) { - my $es_dep_msg = "Required module Catmandu::Importer::MARC is not installed"; + my $missing_module; + if ( $@ =~ /Can\'t locate (.*?) / ) { + $missing_module = $1; + } + my $es_dep_msg = "Required module $missing_module is not installed"; plan( skip_all => $es_dep_msg ); } else { --