From fbad149ff2da2bb0b2fd33b2c8bc7e398f5a12b5 Mon Sep 17 00:00:00 2001 From: Florent Date: Wed, 23 Nov 2022 15:50:34 +0100 Subject: Fix DISABLE_LOCAL_SEARCH blocking request to local search API (#5411) --- server/tests/api/search/search-index.ts | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'server/tests/api/search') diff --git a/server/tests/api/search/search-index.ts b/server/tests/api/search/search-index.ts index c61ac441d..eae4391ec 100644 --- a/server/tests/api/search/search-index.ts +++ b/server/tests/api/search/search-index.ts @@ -81,28 +81,6 @@ describe('Test index search', function () { const body = await command.searchChannels({ search: 'root' }) expect(body.total).to.be.greaterThan(2) }) - - it('Should make an index videos search if local search is disabled', async function () { - await server.config.updateCustomSubConfig({ - newConfig: { - search: { - searchIndex: { - enabled: true, - isDefaultSearch: false, - disableLocalSearch: true - } - } - } - }) - - const body = await command.searchVideos({ search: 'local video' }) - expect(body.total).to.be.greaterThan(2) - }) - - it('Should make an index channels search if local search is disabled', async function () { - const body = await command.searchChannels({ search: 'root' }) - expect(body.total).to.be.greaterThan(2) - }) }) describe('Videos search', async function () { -- cgit v1.2.3