Bugzilla – Attachment 76629 Details for
Bug 19893
Alternative optimized indexing for Elasticsearch
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix Elasticsearch tests.
Fix-Elasticsearch-tests.patch (text/plain), 1.41 KB, created by
Ere Maijala
on 2018-07-02 12:24:33 UTC
(
hide
)
Description:
Fix Elasticsearch tests.
Filename:
MIME Type:
Creator:
Ere Maijala
Created:
2018-07-02 12:24:33 UTC
Size:
1.41 KB
patch
obsolete
>From d9ae99765454de0e2acb73fe8dad9437e09077ff Mon Sep 17 00:00:00 2001 >From: Ere Maijala <ere.maijala@helsinki.fi> >Date: Mon, 2 Jul 2018 15:23:51 +0300 >Subject: [PATCH] Fix Elasticsearch tests. > >https://bugs.koha-community.org/show_bug.cgi?id=19893 >--- > t/Koha/SearchEngine/Elasticsearch.t | 6 ++++-- > 1 file changed, 4 insertions(+), 2 deletions(-) > >diff --git a/t/Koha/SearchEngine/Elasticsearch.t b/t/Koha/SearchEngine/Elasticsearch.t >index d31847e..55cf896 100644 >--- a/t/Koha/SearchEngine/Elasticsearch.t >+++ b/t/Koha/SearchEngine/Elasticsearch.t >@@ -115,7 +115,7 @@ subtest 'get_elasticsearch_mappings() tests' => sub { > > subtest 'Koha::SearchEngine::Elasticsearch::marc_records_to_documents () tests' => sub { > >- plan tests => 29; >+ plan tests => 30; > > t::lib::Mocks::mock_preference('marcflavour', 'MARC21'); > >@@ -307,7 +307,9 @@ subtest 'Koha::SearchEngine::Elasticsearch::marc_records_to_documents () tests' > 'First document sum_item_price field should be set correctly' > ); > >- ok(defined $docs->[0][1]->{marc_xml}, 'First document marc_xml field should be set'); >+ ok(defined $docs->[0][1]->{marc_data}, 'First document marc_data field should be set'); >+ >+ ok(defined $docs->[0][1]->{marc_format}, 'First document marc_format field should be set'); > > is(scalar @{$docs->[0][1]->{type_of_record}}, 1, 'First document type_of_record field should have one value'); > is_deeply( >-- >2.7.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 19893
:
70199
|
70200
|
70201
|
70202
|
70230
|
70325
|
73153
|
75109
|
75271
|
75272
|
75353
|
75428
|
75455
|
75588
|
75658
|
75660
|
76612
|
76613
|
76614
|
76629
|
78091
|
78092
|
78093
|
78094
|
78524
|
78561
|
78587
|
78588
|
78589
|
78590
|
78591
|
78592
|
78593
|
78594
|
78690
|
78691
|
78692
|
78693
|
78694
|
78695
|
78696
|
80969
|
80970
|
80971
|
80983
|
81014
|
81015
|
81284
|
81822
|
81901
|
81903
|
81955
|
81957
|
81958
|
81959
|
81960
|
81961
|
81962
|
81963
|
81964
|
81965
|
81966
|
82143
|
82144
|
82145
|
82146
|
82147
|
82148
|
82149
|
82150
|
82151
|
82152
|
82256
|
82257
|
82258
|
82259
|
82260
|
82261
|
82262
|
82263
|
82264
|
82265
|
82266
|
82267