Bugzilla – Attachment 24122 Details for
Bug 11499
zebra_setup.pl not correctly setting indexing mode
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11499: (regression tests) indexing modes not properly set on generated koha-conf.xml
Bug-11499-regression-tests-indexing-modes-not-prop.patch (text/plain), 1.76 KB, created by
Kyle M Hall (khall)
on 2014-01-10 13:19:12 UTC
(
hide
)
Description:
Bug 11499: (regression tests) indexing modes not properly set on generated koha-conf.xml
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2014-01-10 13:19:12 UTC
Size:
1.76 KB
patch
obsolete
>From 2bb485d7e55c325aa80f237415d4ead28604d665 Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@gmail.com> >Date: Wed, 8 Jan 2014 12:17:26 -0300 >Subject: [PATCH] Bug 11499: (regression tests) indexing modes not properly set on generated koha-conf.xml > >t/db_dependent/Search.t creates its own temporary koha-conf.xml and >related files, and it fails to properly set indexing modes for >bibliographic and authority records. > >This patch adds regression tests for that. > >To test: > > $ prove -v t/db_dependent/Search.t 2> /dev/null | grep 11499 > >The test should fail unless the main page is applied. > >Sponsored-by: Universidad Nacional de Cordoba >Signed-off-by: Galen Charlton <gmc@esilibrary.com> >Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com> >--- > t/db_dependent/Search.t | 7 ++++++- > 1 files changed, 6 insertions(+), 1 deletions(-) > >diff --git a/t/db_dependent/Search.t b/t/db_dependent/Search.t >index b412709..2a7215d 100644 >--- a/t/db_dependent/Search.t >+++ b/t/db_dependent/Search.t >@@ -12,7 +12,7 @@ use YAML; > use C4::Debug; > require C4::Context; > >-use Test::More tests => 208; >+use Test::More tests => 212; > use Test::MockModule; > use MARC::Record; > use File::Spec; >@@ -178,6 +178,11 @@ sub run_marc21_search_tests { > my $context = new C4::Context("$datadir/etc/koha-conf.xml"); > $context->set_context(); > >+ is($context->config('zebra_bib_index_mode'),$indexing_mode, >+ "zebra_bib_index_mode is properly set to '$indexing_mode' in the created koha-conf.xml file (BZ11499)"); >+ is($context->config('zebra_auth_index_mode'),$indexing_mode, >+ "zebra_auth_index_mode is properly set to '$indexing_mode' in the created koha-conf.xml file (BZ11499)"); >+ > use_ok('C4::Search'); > > # set search syspreferences to a known starting point >-- >1.7.2.5
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 11499
:
24014
|
24015
|
24021
|
24022
| 24122 |
24123