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

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
Nick Clemens 2019-03-28 15:57:13 +00:00
parent 7cfeb54374
commit ffef0c0027
2 changed files with 2 additions and 1 deletions

View file

@ -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,

View file

@ -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;