Bugzilla – Attachment 50211 Details for
Bug 12478
Elasticsearch support for Koha
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 12478 : Fixing the tests in t/Koha_ElasticSearch_Indexer.t
Bug-12478--Fixing-the-tests-in-tKohaElasticSearchI.patch (text/plain), 1.25 KB, created by
Chris Cormack
on 2016-04-13 20:54:13 UTC
(
hide
)
Description:
Bug 12478 : Fixing the tests in t/Koha_ElasticSearch_Indexer.t
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2016-04-13 20:54:13 UTC
Size:
1.25 KB
patch
obsolete
>From 75275afbfe588e870ea833ce9cfb5b6f8c478ba3 Mon Sep 17 00:00:00 2001 >From: Chris Cormack <chrisc@catalyst.net.z> >Date: Wed, 13 Apr 2016 20:51:59 +0000 >Subject: [PATCH] Bug 12478 : Fixing the tests in > t/Koha_ElasticSearch_Indexer.t > >--- > t/Koha_ElasticSearch_Indexer.t | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >diff --git a/t/Koha_ElasticSearch_Indexer.t b/t/Koha_ElasticSearch_Indexer.t >index 6de6a32..d04a81f 100644 >--- a/t/Koha_ElasticSearch_Indexer.t >+++ b/t/Koha_ElasticSearch_Indexer.t >@@ -25,7 +25,7 @@ use_ok('Koha::ElasticSearch::Indexer'); > > my $indexer; > ok( >- my $indexer = Koha::ElasticSearch::Indexer->new( >+ $indexer = Koha::ElasticSearch::Indexer->new( > { > 'nodes' => ['localhost:9200'], > 'index' => 'mydb' >@@ -43,9 +43,9 @@ $field = MARC::Field->new( '245', '', '', 'a' => 'Title' ); > $marc_record->append_fields($field); > > my $records = [$marc_record]; >-ok( my $converted = $indexer->convert_marc_to_json($records), >+ok( my $converted = $indexer->_convert_marc_to_json($records), > 'Convert some records' ); > > is( $converted->count, 1, 'One converted record' ); > >-ok( $indexer->update_index($records), 'Update Index' ); >+ok( $indexer->update_index(undef,$records), 'Update Index' ); >-- >2.1.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 12478
:
29204
|
31128
|
31129
|
33136
|
33137
|
33138
|
33139
|
33140
|
33141
|
35654
|
40903
|
42030
|
42031
|
42032
|
42033
|
42062
|
42063
|
42064
|
42065
|
42066
|
42067
|
42068
|
42069
|
42392
|
42393
|
43127
|
43128
|
43129
|
43130
|
43131
|
43132
|
43133
|
43134
|
43140
|
43141
|
43142
|
43148
|
43345
|
43346
|
43347
|
43348
|
43349
|
43350
|
43351
|
43352
|
43373
|
47767
|
47768
|
50115
|
50159
|
50211
|
50212
|
50213
|
50214
|
50245
|
50246
|
50291
|
50292