Bug 33406: (follow-up) Mock SearchEngine to ensure using ES

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Nick Clemens 2023-09-18 13:24:53 +00:00 committed by Tomas Cohen Arazi
parent a6c77f664c
commit 766bdd638a
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

View file

@ -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(