Browse Source

Bug 18235: (follow-up) fix tests and remove trailing space

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Nick Clemens 2 years ago
parent
commit
ffef0c0027
  1. 2
      Koha/SearchEngine/Elasticsearch.pm
  2. 1
      t/db_dependent/Koha_Elasticsearch.t

2
Koha/SearchEngine/Elasticsearch.pm

@ -285,7 +285,7 @@ sub reset_elasticsearch_mappings {
my $field_label = $data->{label};
my $mappings = $data->{mappings};
my $facet_order = $data->{facet_order};
my $search_field = Koha::SearchFields->find_or_create({
my $search_field = Koha::SearchFields->find_or_create({
name => $field_name,
label => $field_label,
type => $field_type,

1
t/db_dependent/Koha_Elasticsearch.t

@ -23,6 +23,7 @@ use t::lib::TestBuilder;
use MARC::Record;
use Koha::SearchFields;
use Koha::SearchEngine::Elasticsearch;
my $schema = Koha::Database->schema;
my $builder = t::lib::TestBuilder->new;

Loading…
Cancel
Save