diff options
Diffstat (limited to 'server/tests/api/videos/video-captions.ts')
-rw-r--r-- | server/tests/api/videos/video-captions.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/tests/api/videos/video-captions.ts b/server/tests/api/videos/video-captions.ts index c6f59762a..5e13f5949 100644 --- a/server/tests/api/videos/video-captions.ts +++ b/server/tests/api/videos/video-captions.ts | |||
@@ -3,7 +3,7 @@ | |||
3 | import * as chai from 'chai' | 3 | import * as chai from 'chai' |
4 | import 'mocha' | 4 | import 'mocha' |
5 | import { | 5 | import { |
6 | checkVideoFilesWereRemoved, | 6 | checkVideoFilesWereRemoved, cleanupTests, |
7 | doubleFollow, | 7 | doubleFollow, |
8 | flushAndRunMultipleServers, | 8 | flushAndRunMultipleServers, |
9 | removeVideo, | 9 | removeVideo, |
@@ -195,7 +195,7 @@ describe('Test video captions', function () { | |||
195 | await checkVideoFilesWereRemoved(videoUUID, 1) | 195 | await checkVideoFilesWereRemoved(videoUUID, 1) |
196 | }) | 196 | }) |
197 | 197 | ||
198 | after(function () { | 198 | after(async function () { |
199 | killallServers(servers) | 199 | await cleanupTests(servers) |
200 | }) | 200 | }) |
201 | }) | 201 | }) |