X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Ftests%2Fapi%2Fcheck-params%2Fvideo-captions.ts;h=4a373d43de15ff244d1132002e9e230d67b1c1a2;hb=7c3b79768bd174b22154e8d2df0b1211e01ee56a;hp=64265865a9fd027161df9128eef690b4ede4374b;hpb=210feb6cc484a6c5c63c98f770de34e223f944cb;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/tests/api/check-params/video-captions.ts b/server/tests/api/check-params/video-captions.ts index 64265865a..4a373d43d 100644 --- a/server/tests/api/check-params/video-captions.ts +++ b/server/tests/api/check-params/video-captions.ts @@ -2,13 +2,12 @@ import 'mocha' import { + cleanupTests, createUser, - flushTests, - killallServers, + flushAndRunServer, makeDeleteRequest, makeGetRequest, makeUploadRequest, - flushAndRunServer, ServerInfo, setAccessTokensToServers, uploadVideo, @@ -269,7 +268,7 @@ describe('Test video captions API validator', function () { }) }) - after(function () { - killallServers([ server ]) + after(async function () { + await cleanupTests([ server ]) }) })