diff options
Diffstat (limited to 'server/tests/api/videos/video-privacy.ts')
-rw-r--r-- | server/tests/api/videos/video-privacy.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/server/tests/api/videos/video-privacy.ts b/server/tests/api/videos/video-privacy.ts index a823993b2..ef1cf0f07 100644 --- a/server/tests/api/videos/video-privacy.ts +++ b/server/tests/api/videos/video-privacy.ts | |||
@@ -4,6 +4,7 @@ import * as chai from 'chai' | |||
4 | import 'mocha' | 4 | import 'mocha' |
5 | import { VideoPrivacy } from '../../../../shared/models/videos/video-privacy.enum' | 5 | import { VideoPrivacy } from '../../../../shared/models/videos/video-privacy.enum' |
6 | import { | 6 | import { |
7 | cleanupTests, | ||
7 | flushAndRunMultipleServers, | 8 | flushAndRunMultipleServers, |
8 | getVideosList, | 9 | getVideosList, |
9 | killallServers, | 10 | killallServers, |
@@ -152,7 +153,7 @@ describe('Test video privacy', function () { | |||
152 | } | 153 | } |
153 | }) | 154 | }) |
154 | 155 | ||
155 | after(function () { | 156 | after(async function () { |
156 | killallServers(servers) | 157 | await cleanupTests(servers) |
157 | }) | 158 | }) |
158 | }) | 159 | }) |