Bug 25375: Fix QueryBuilder.t tests

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit a4f09abd5c)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
Julian Maurice 2022-09-26 14:47:52 +02:00 committed by Lucas Gass
parent 18b81b2de3
commit 3a2ac10bcf

View file

@ -390,7 +390,7 @@ subtest 'build_query tests' => sub {
( undef, $query ) = $qb->build_query_compat( undef, ['"donald duck"'], undef, ['available'] );
is(
$query->{query}{query_string}{query},
'("donald duck") AND onloan:false',
'("donald duck") AND available:true',
"query with quotes is unaltered when QueryAutoTruncate is enabled"
);