diff options
Diffstat (limited to 'server/tests/api/check-params/video-comments.ts')
-rw-r--r-- | server/tests/api/check-params/video-comments.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/tests/api/check-params/video-comments.ts b/server/tests/api/check-params/video-comments.ts index dfa4c29b6..5cf90bacc 100644 --- a/server/tests/api/check-params/video-comments.ts +++ b/server/tests/api/check-params/video-comments.ts | |||
@@ -3,9 +3,9 @@ | |||
3 | import * as chai from 'chai' | 3 | import * as chai from 'chai' |
4 | import 'mocha' | 4 | import 'mocha' |
5 | import { | 5 | import { |
6 | cleanupTests, | ||
6 | createUser, | 7 | createUser, |
7 | flushAndRunServer, | 8 | flushAndRunServer, |
8 | killallServers, | ||
9 | makeDeleteRequest, | 9 | makeDeleteRequest, |
10 | makeGetRequest, | 10 | makeGetRequest, |
11 | makePostBodyRequest, | 11 | makePostBodyRequest, |
@@ -258,7 +258,7 @@ describe('Test video comments API validator', function () { | |||
258 | it('Should return conflict on comment thread add') | 258 | it('Should return conflict on comment thread add') |
259 | }) | 259 | }) |
260 | 260 | ||
261 | after(function () { | 261 | after(async function () { |
262 | killallServers([ server ]) | 262 | await cleanupTests([ server ]) |
263 | }) | 263 | }) |
264 | }) | 264 | }) |