diff options
Diffstat (limited to 'server/tests/api/search/search-videos.ts')
-rw-r--r-- | server/tests/api/search/search-videos.ts | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/server/tests/api/search/search-videos.ts b/server/tests/api/search/search-videos.ts index d1520a9aa..1a086b33a 100644 --- a/server/tests/api/search/search-videos.ts +++ b/server/tests/api/search/search-videos.ts | |||
@@ -12,7 +12,8 @@ import { | |||
12 | setAccessTokensToServers, | 12 | setAccessTokensToServers, |
13 | uploadVideo, | 13 | uploadVideo, |
14 | wait, | 14 | wait, |
15 | immutableAssign | 15 | immutableAssign, |
16 | cleanupTests | ||
16 | } from '../../../../shared/extra-utils' | 17 | } from '../../../../shared/extra-utils' |
17 | 18 | ||
18 | const expect = chai.expect | 19 | const expect = chai.expect |
@@ -405,7 +406,7 @@ describe('Test a videos search', function () { | |||
405 | } | 406 | } |
406 | }) | 407 | }) |
407 | 408 | ||
408 | after(function () { | 409 | after(async function () { |
409 | killallServers([ server ]) | 410 | await cleanupTests([ server ]) |
410 | }) | 411 | }) |
411 | }) | 412 | }) |