From 78cf053b0ce0b7f529905f2a9066d02ab486299d Mon Sep 17 00:00:00 2001 From: Julian Maurice Date: Mon, 26 Sep 2022 14:47:52 +0200 Subject: [PATCH] Bug 25375: Fix QueryBuilder.t tests --- t/db_dependent/Koha/SearchEngine/Elasticsearch/QueryBuilder.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/db_dependent/Koha/SearchEngine/Elasticsearch/QueryBuilder.t b/t/db_dependent/Koha/SearchEngine/Elasticsearch/QueryBuilder.t index b11c667e4a..7cf50591ef 100755 --- a/t/db_dependent/Koha/SearchEngine/Elasticsearch/QueryBuilder.t +++ b/t/db_dependent/Koha/SearchEngine/Elasticsearch/QueryBuilder.t @@ -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" ); -- 2.30.2