Bugzilla – Attachment 35107 Details for
Bug 11700
C4::AuthoritiesMarc::merge enhancements/fixes
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 11700: Fix unit test when index mode is not defined
Bug-11700-Fix-unit-test-when-index-mode-is-not-def.patch (text/plain), 1.13 KB, created by
Julian Maurice
on 2015-01-12 15:55:29 UTC
(
hide
)
Description:
Bug 11700: Fix unit test when index mode is not defined
Filename:
MIME Type:
Creator:
Julian Maurice
Created:
2015-01-12 15:55:29 UTC
Size:
1.13 KB
patch
obsolete
>From 728e20e67f9219c78ad366c5423fb8361e1c4099 Mon Sep 17 00:00:00 2001 >From: Julian Maurice <julian.maurice@biblibre.com> >Date: Mon, 12 Jan 2015 16:53:40 +0100 >Subject: [PATCH] Bug 11700: Fix unit test when index mode is not defined > >Use the same default value as everywhere (dom) >--- > t/db_dependent/AuthoritiesMarc.t | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/t/db_dependent/AuthoritiesMarc.t b/t/db_dependent/AuthoritiesMarc.t >index 5073589..82afdf1 100755 >--- a/t/db_dependent/AuthoritiesMarc.t >+++ b/t/db_dependent/AuthoritiesMarc.t >@@ -241,7 +241,8 @@ $zoom_resultset->mock('destroy', undef); > my $zoom_record = new Test::MockModule('ZOOM::Record', no_auto => 1); > $zoom_record->mock('raw', sub { > my $this = shift; >- my $sqlfield = C4::Context->config('zebra_bib_index_mode') eq 'dom' ? 'marcxml' : 'marc'; >+ my $index_mode = C4::Context->config('zebra_bib_index_mode') // 'dom'; >+ my $sqlfield = $index_mode eq 'dom' ? 'marcxml' : 'marc'; > my $marcs = $dbh->selectcol_arrayref( > "SELECT $sqlfield FROM biblioitems WHERE biblionumber = ?", {}, > $this->{_rec}->{biblionumber}); >-- >1.9.1
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 11700
:
25086
|
25413
|
25414
|
25426
|
27970
|
27971
|
27972
|
27973
|
28176
|
28177
|
35107
|
39264
|
39265
|
39266
|
39267
|
39268
|
39269
|
40968
|
40969
|
40970
|
40971
|
40972
|
45048
|
45049
|
45050
|
45051
|
45052
|
45053
|
46397
|
46398
|
46399
|
46400
|
46401
|
46402
|
56469
|
56470
|
56471
|
56472
|
56473
|
56474