Bugzilla – Attachment 39269 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]
[SIGNED_OFF] Bug 11700: Fix unit test when index mode is not defined
SIGNEDOFF-Bug-11700-Fix-unit-test-when-index-mode-.patch (text/plain), 1.27 KB, created by
Bernardo Gonzalez Kriegel
on 2015-05-17 22:53:45 UTC
(
hide
)
Description:
[SIGNED_OFF] Bug 11700: Fix unit test when index mode is not defined
Filename:
MIME Type:
Creator:
Bernardo Gonzalez Kriegel
Created:
2015-05-17 22:53:45 UTC
Size:
1.27 KB
patch
obsolete
>From 5d723a522b6dc9e2452d642ab3347596ce816c2b 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] [SIGNED_OFF] Bug 11700: Fix unit test when index mode is not > defined > >Use the same default value as everywhere (dom) > >Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> > >Tested mergin auths, no problems >Test runs Ok >No koha-qa errors >--- > 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 fd49538..875e4f2 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.7.9.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 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