diff options
Diffstat (limited to 'server/tests/api/videos/video-abuse.ts')
-rw-r--r-- | server/tests/api/videos/video-abuse.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/server/tests/api/videos/video-abuse.ts b/server/tests/api/videos/video-abuse.ts index 06bb31348..7318497d5 100644 --- a/server/tests/api/videos/video-abuse.ts +++ b/server/tests/api/videos/video-abuse.ts | |||
@@ -4,6 +4,7 @@ import * as chai from 'chai' | |||
4 | import 'mocha' | 4 | import 'mocha' |
5 | import { VideoAbuse, VideoAbuseState } from '../../../../shared/models/videos' | 5 | import { VideoAbuse, VideoAbuseState } from '../../../../shared/models/videos' |
6 | import { | 6 | import { |
7 | cleanupTests, | ||
7 | deleteVideoAbuse, | 8 | deleteVideoAbuse, |
8 | flushAndRunMultipleServers, | 9 | flushAndRunMultipleServers, |
9 | getVideoAbusesList, | 10 | getVideoAbusesList, |
@@ -172,7 +173,7 @@ describe('Test video abuses', function () { | |||
172 | expect(res.body.data.length).to.equal(0) | 173 | expect(res.body.data.length).to.equal(0) |
173 | }) | 174 | }) |
174 | 175 | ||
175 | after(function () { | 176 | after(async function () { |
176 | killallServers(servers) | 177 | await cleanupTests(servers) |
177 | }) | 178 | }) |
178 | }) | 179 | }) |