X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Ftests%2Fapi%2Fvideos%2Fvideo-privacy.ts;h=ef1cf0f071ed23f7544f32013aecc1c2d27ddf71;hb=bec4ea343987c69252b84d02f444c0f033d4a3f9;hp=ba5e0f044d5b457fcc7157793c799ee2d6407461;hpb=94565d52bb2883e09f16d1363170ac9c0dccb7a1;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/tests/api/videos/video-privacy.ts b/server/tests/api/videos/video-privacy.ts index ba5e0f044..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' import 'mocha' import { VideoPrivacy } from '../../../../shared/models/videos/video-privacy.enum' import { + cleanupTests, flushAndRunMultipleServers, getVideosList, killallServers, @@ -153,6 +154,6 @@ describe('Test video privacy', function () { }) after(async function () { - killallServers(servers) + await cleanupTests(servers) }) })