Bugzilla – Attachment 82999 Details for
Bug 21962
The `searching entire record` option in authority searches is currently failing
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 21962: Unit tests
Bug-21962-Unit-tests.patch (text/plain), 1.19 KB, created by
Pierre-Marc Thibault
on 2018-12-07 19:48:01 UTC
(
hide
)
Description:
Bug 21962: Unit tests
Filename:
MIME Type:
Creator:
Pierre-Marc Thibault
Created:
2018-12-07 19:48:01 UTC
Size:
1.19 KB
patch
obsolete
>From 41e80b1f630ef85a252e420bd81d681f6b602e38 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Thu, 6 Dec 2018 12:41:41 +0000 >Subject: [PATCH] Bug 21962: Unit tests > >Signed-off-by: Pierre-Marc Thibault <pierre-marc.thibault@inLibro.com> >--- > t/db_dependent/Search.t | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) > >diff --git a/t/db_dependent/Search.t b/t/db_dependent/Search.t >index 417be53..b5e5031 100644 >--- a/t/db_dependent/Search.t >+++ b/t/db_dependent/Search.t >@@ -775,6 +775,11 @@ ok(MARC::Record::new_from_xml($results_hashref->{biblioserver}->{RECORDS}->[0],' > ['99282477'], 0, 10, '', '', 1 > ); > is($count, 1, 'MARC21 authorities: one hit on LC-card-number contains "99282477"'); >+ ($auths, $count) = SearchAuthorities( >+ ['all'], ['and'], [''], ['contains'], >+ ['professional wrestler'], 0, 10, '', '', 1 >+ ); >+ is($count, 1, 'MARC21 authorities: one hit on "all" (entire record) contains "professional wrestler"'); > > $UseQueryParser = 1; > >@@ -974,7 +979,7 @@ sub run_unimarc_search_tests { > } > > subtest 'MARC21 + DOM' => sub { >- plan tests => 111; >+ plan tests => 112; > run_marc21_search_tests(); > }; > >-- >2.7.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 21962
:
82905
|
82906
|
82999
|
83000
|
83031
|
83032