diff options
author | Florent <florent.git@zeteo.me> | 2022-11-23 15:50:34 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-23 15:50:34 +0100 |
commit | fbad149ff2da2bb0b2fd33b2c8bc7e398f5a12b5 (patch) | |
tree | d445bf4b0bdc6033c5c17c518910010f737ad79c /server/tests/api/check-params/search.ts | |
parent | 77239b425a8e00822a53c9907415832a473c3eb6 (diff) | |
download | PeerTube-fbad149ff2da2bb0b2fd33b2c8bc7e398f5a12b5.tar.gz PeerTube-fbad149ff2da2bb0b2fd33b2c8bc7e398f5a12b5.tar.zst PeerTube-fbad149ff2da2bb0b2fd33b2c8bc7e398f5a12b5.zip |
Fix DISABLE_LOCAL_SEARCH blocking request to local search API (#5411)
Diffstat (limited to 'server/tests/api/check-params/search.ts')
-rw-r--r-- | server/tests/api/check-params/search.ts | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/server/tests/api/check-params/search.ts b/server/tests/api/check-params/search.ts index 91e9122a7..72c25ba33 100644 --- a/server/tests/api/check-params/search.ts +++ b/server/tests/api/check-params/search.ts | |||
@@ -252,11 +252,6 @@ describe('Test videos API validator', function () { | |||
252 | await updateSearchIndex(server, true, true) | 252 | await updateSearchIndex(server, true, true) |
253 | 253 | ||
254 | { | 254 | { |
255 | const customQuery = { ...query, searchTarget: 'local' } | ||
256 | await makeGetRequest({ url: server.url, path, query: customQuery, expectedStatus: HttpStatusCode.BAD_REQUEST_400 }) | ||
257 | } | ||
258 | |||
259 | { | ||
260 | const customQuery = { ...query, searchTarget: 'search-index' } | 255 | const customQuery = { ...query, searchTarget: 'search-index' } |
261 | await makeGetRequest({ url: server.url, path, query: customQuery, expectedStatus: HttpStatusCode.OK_200 }) | 256 | await makeGetRequest({ url: server.url, path, query: customQuery, expectedStatus: HttpStatusCode.OK_200 }) |
262 | } | 257 | } |