Lines 12-18
use YAML;
Link Here
|
12 |
use C4::Debug; |
12 |
use C4::Debug; |
13 |
require C4::Context; |
13 |
require C4::Context; |
14 |
|
14 |
|
15 |
use Test::More tests => 208; |
15 |
use Test::More tests => 212; |
16 |
use Test::MockModule; |
16 |
use Test::MockModule; |
17 |
use MARC::Record; |
17 |
use MARC::Record; |
18 |
use File::Spec; |
18 |
use File::Spec; |
Lines 178-183
sub run_marc21_search_tests {
Link Here
|
178 |
my $context = new C4::Context("$datadir/etc/koha-conf.xml"); |
178 |
my $context = new C4::Context("$datadir/etc/koha-conf.xml"); |
179 |
$context->set_context(); |
179 |
$context->set_context(); |
180 |
|
180 |
|
|
|
181 |
is($context->config('zebra_bib_index_mode'),$indexing_mode, |
182 |
"zebra_bib_index_mode is properly set to '$indexing_mode' in the created koha-conf.xml file (BZ11499)"); |
183 |
is($context->config('zebra_auth_index_mode'),$indexing_mode, |
184 |
"zebra_auth_index_mode is properly set to '$indexing_mode' in the created koha-conf.xml file (BZ11499)"); |
185 |
|
181 |
use_ok('C4::Search'); |
186 |
use_ok('C4::Search'); |
182 |
|
187 |
|
183 |
# set search syspreferences to a known starting point |
188 |
# set search syspreferences to a known starting point |
184 |
- |
|
|