Bug 18235: (follow-up) fix tests and remove trailing space
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
parent
7cfeb54374
commit
ffef0c0027
2 changed files with 2 additions and 1 deletions
|
@ -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,
|
||||
|
|
|
@ -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…
Reference in a new issue