Bugzilla – Attachment 106935 Details for
Bug 23086
Search for collection is broken
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 23086: Unit test
Bug-23086-Unit-test.patch (text/plain), 1.26 KB, created by
Nick Clemens (kidclamp)
on 2020-07-15 15:50:02 UTC
(
hide
)
Description:
Bug 23086: Unit test
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2020-07-15 15:50:02 UTC
Size:
1.26 KB
patch
obsolete
>From 6fe3e8d828887bac5bc918593affb814df92dd07 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Wed, 15 Jul 2020 15:33:18 +0000 >Subject: [PATCH] Bug 23086: Unit test > >--- > t/db_dependent/Search.t | 8 +++++++- > 1 file changed, 7 insertions(+), 1 deletion(-) > >diff --git a/t/db_dependent/Search.t b/t/db_dependent/Search.t >index 024e9aba29..5c3d7fe81c 100644 >--- a/t/db_dependent/Search.t >+++ b/t/db_dependent/Search.t >@@ -668,6 +668,12 @@ ok(MARC::Record::new_from_xml($results_hashref->{biblioserver}->{RECORDS}->[0],' > $query_type ) = buildQuery([], [ 0 ], [ 'su,phr' ], [], [], 0, 'en'); > is($query, 'su,phr=0 ', 'buildQuery should keep 0 value'); > >+ # Bug 23086 >+ ( $error, $query, $simple_query, $query_cgi, >+ $query_desc, $limit, $limit_cgi, $limit_desc, >+ $query_type ) = buildQuery([], [], [], [ 'mc-ccode:NF(IC'], [], 0, 'en'); >+ like($query, qr/ccode="NF\(IC"/, "Limit quoted correctly"); >+ > # Let's see what happens when we pass bad data into these routines. > # We have to catch warnings since we're not very good about returning errors. > >@@ -906,7 +912,7 @@ sub run_unimarc_search_tests { > } > > subtest 'MARC21 + DOM' => sub { >- plan tests => 87; >+ plan tests => 88; > run_marc21_search_tests(); > }; > >-- >2.11.0
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 23086
:
92940
|
106664
|
106668
|
106855
|
106935
|
106936
|
107055
|
107056
|
107355
|
107356