Bug 23676: (RM follow-up) Test Correction
We altered the query form passed by the ElasticSearch Query Builder but neglected to update the test. Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
98cb9a5ebd
commit
3e6963e183
1 changed files with 2 additions and 2 deletions
|
@ -457,8 +457,8 @@ subtest 'build_query tests' => sub {
|
|||
( undef, $query ) = $qb->build_query_compat( undef, ['title:"donald duck"'], undef, undef, undef, undef, undef, { suppress => 1 } );
|
||||
is(
|
||||
$query->{query}{query_string}{query},
|
||||
'(title:"donald duck") AND suppress:0',
|
||||
"query of specific field is added AND suppress:0"
|
||||
'(title:"donald duck") AND suppress:false',
|
||||
"query of specific field is added AND suppress:false"
|
||||
);
|
||||
|
||||
( undef, $query, $simple_query, $query_cgi, $query_desc ) = $qb->build_query_compat( undef, ['title:"donald duck"'], undef, undef, undef, undef, undef, { suppress => 0 } );
|
||||
|
|
Loading…
Reference in a new issue