diff options
Diffstat (limited to 'server/tests/api/check-params/video-captions.ts')
-rw-r--r-- | server/tests/api/check-params/video-captions.ts | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/server/tests/api/check-params/video-captions.ts b/server/tests/api/check-params/video-captions.ts index 64265865a..4a373d43d 100644 --- a/server/tests/api/check-params/video-captions.ts +++ b/server/tests/api/check-params/video-captions.ts | |||
@@ -2,13 +2,12 @@ | |||
2 | 2 | ||
3 | import 'mocha' | 3 | import 'mocha' |
4 | import { | 4 | import { |
5 | cleanupTests, | ||
5 | createUser, | 6 | createUser, |
6 | flushTests, | 7 | flushAndRunServer, |
7 | killallServers, | ||
8 | makeDeleteRequest, | 8 | makeDeleteRequest, |
9 | makeGetRequest, | 9 | makeGetRequest, |
10 | makeUploadRequest, | 10 | makeUploadRequest, |
11 | flushAndRunServer, | ||
12 | ServerInfo, | 11 | ServerInfo, |
13 | setAccessTokensToServers, | 12 | setAccessTokensToServers, |
14 | uploadVideo, | 13 | uploadVideo, |
@@ -269,7 +268,7 @@ describe('Test video captions API validator', function () { | |||
269 | }) | 268 | }) |
270 | }) | 269 | }) |
271 | 270 | ||
272 | after(function () { | 271 | after(async function () { |
273 | killallServers([ server ]) | 272 | await cleanupTests([ server ]) |
274 | }) | 273 | }) |
275 | }) | 274 | }) |