From 766bdd638acbf8870c3f6eb21d03d8195040e54f Mon Sep 17 00:00:00 2001 From: Nick Clemens Date: Mon, 18 Sep 2023 13:24:53 +0000 Subject: [PATCH] Bug 33406: (follow-up) Mock SearchEngine to ensure using ES Signed-off-by: Tomas Cohen Arazi --- t/Koha/SearchEngine/Elasticsearch/Search.t | 1 + 1 file changed, 1 insertion(+) diff --git a/t/Koha/SearchEngine/Elasticsearch/Search.t b/t/Koha/SearchEngine/Elasticsearch/Search.t index 6353793b10..cae1b2a96e 100755 --- a/t/Koha/SearchEngine/Elasticsearch/Search.t +++ b/t/Koha/SearchEngine/Elasticsearch/Search.t @@ -27,6 +27,7 @@ subtest 'search_auth_compat' => sub { plan tests => 4; t::lib::Mocks::mock_preference( 'QueryRegexEscapeOptions', 'dont_escape' ); + t::lib::Mocks::mock_preference( 'SearchEngine', 'Elasticsearch' ); my $search; ok(