aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/search/search-videos.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api/search/search-videos.ts')
-rw-r--r--server/tests/api/search/search-videos.ts5
1 files changed, 2 insertions, 3 deletions
diff --git a/server/tests/api/search/search-videos.ts b/server/tests/api/search/search-videos.ts
index f0482c7e0..7dc89c447 100644
--- a/server/tests/api/search/search-videos.ts
+++ b/server/tests/api/search/search-videos.ts
@@ -14,7 +14,6 @@ import {
14 setAccessTokensToServers, 14 setAccessTokensToServers,
15 setDefaultVideoChannel, 15 setDefaultVideoChannel,
16 stopFfmpeg, 16 stopFfmpeg,
17 updateCustomSubConfig,
18 uploadVideo, 17 uploadVideo,
19 wait, 18 wait,
20 waitUntilLivePublished 19 waitUntilLivePublished
@@ -486,13 +485,13 @@ describe('Test videos search', function () {
486 this.timeout(30000) 485 this.timeout(30000)
487 486
488 { 487 {
489 const options = { 488 const newConfig = {
490 search: { 489 search: {
491 searchIndex: { enabled: false } 490 searchIndex: { enabled: false }
492 }, 491 },
493 live: { enabled: true } 492 live: { enabled: true }
494 } 493 }
495 await updateCustomSubConfig(server.url, server.accessToken, options) 494 await server.configCommand.updateCustomSubConfig({ newConfig })
496 } 495 }
497 496
498 { 497 {