diff options
author | Chocobozzz <me@florianbigard.com> | 2019-04-24 10:53:40 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-04-24 16:26:23 +0200 |
commit | 210feb6cc484a6c5c63c98f770de34e223f944cb (patch) | |
tree | d1d841892a7ac87ac0d434194597606a375aaed1 /server/tests/api/check-params/video-blacklist.ts | |
parent | 9cc8d43e37a61709e7275c2a799bdf976dd940ca (diff) | |
download | PeerTube-210feb6cc484a6c5c63c98f770de34e223f944cb.tar.gz PeerTube-210feb6cc484a6c5c63c98f770de34e223f944cb.tar.zst PeerTube-210feb6cc484a6c5c63c98f770de34e223f944cb.zip |
Cleanup tests
Diffstat (limited to 'server/tests/api/check-params/video-blacklist.ts')
-rw-r--r-- | server/tests/api/check-params/video-blacklist.ts | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/server/tests/api/check-params/video-blacklist.ts b/server/tests/api/check-params/video-blacklist.ts index c2e9622cc..f9c7d9e9a 100644 --- a/server/tests/api/check-params/video-blacklist.ts +++ b/server/tests/api/check-params/video-blacklist.ts | |||
@@ -39,7 +39,6 @@ describe('Test video blacklist API validators', function () { | |||
39 | before(async function () { | 39 | before(async function () { |
40 | this.timeout(120000) | 40 | this.timeout(120000) |
41 | 41 | ||
42 | await flushTests() | ||
43 | servers = await flushAndRunMultipleServers(2) | 42 | servers = await flushAndRunMultipleServers(2) |
44 | 43 | ||
45 | await setAccessTokensToServers(servers) | 44 | await setAccessTokensToServers(servers) |
@@ -248,12 +247,7 @@ describe('Test video blacklist API validators', function () { | |||
248 | }) | 247 | }) |
249 | }) | 248 | }) |
250 | 249 | ||
251 | after(async function () { | 250 | after(function () { |
252 | killallServers(servers) | 251 | killallServers(servers) |
253 | |||
254 | // Keep the logs if the test failed | ||
255 | if (this['ok']) { | ||
256 | await flushTests() | ||
257 | } | ||
258 | }) | 252 | }) |
259 | }) | 253 | }) |