Bugzilla – Attachment 92119 Details for
Bug 22997
Searching gives no results in auth_finder.pl
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22997: Unit test
Bug-22997-Unit-test.patch (text/plain), 1.24 KB, created by
Fridolin Somers
on 2019-08-09 11:54:46 UTC
(
hide
)
Description:
Bug 22997: Unit test
Filename:
MIME Type:
Creator:
Fridolin Somers
Created:
2019-08-09 11:54:46 UTC
Size:
1.24 KB
patch
obsolete
>From 5b07073fc0b2d9d2885a0bb3a4a4834a843ab54f Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >Date: Fri, 9 Aug 2019 13:51:46 +0200 >Subject: [PATCH] Bug 22997: Unit test > >Run prove t/db_dependent/Koha/SearchEngine/Elasticsearch/QueryBuilder.t >--- > t/db_dependent/Koha/SearchEngine/Elasticsearch/QueryBuilder.t | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/t/db_dependent/Koha/SearchEngine/Elasticsearch/QueryBuilder.t b/t/db_dependent/Koha/SearchEngine/Elasticsearch/QueryBuilder.t >index d3656eabc9..652d491330 100644 >--- a/t/db_dependent/Koha/SearchEngine/Elasticsearch/QueryBuilder.t >+++ b/t/db_dependent/Koha/SearchEngine/Elasticsearch/QueryBuilder.t >@@ -82,7 +82,7 @@ $se->mock( 'get_elasticsearch_mappings', sub { > }); > > subtest 'build_authorities_query_compat() tests' => sub { >- plan tests => 36; >+ plan tests => 44; > > my $qb; > >@@ -102,6 +102,7 @@ subtest 'build_authorities_query_compat() tests' => sub { > is( $query->{query}->{bool}->{must}[0]->{query_string}->{query}, > "a*"); > } >+ is( $query->{query}->{bool}->{must}[0]->{query_string}->{analyze_wildcard}, JSON::true, 'Set analyze_wildcard true' ); > } > > $search_term = 'Donald Duck'; >-- >2.17.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 22997
:
90154
|
91095
|
92118
|
92119
|
93377
|
93378
|
93917
|
93918
|
93919
|
93920