diff options
Diffstat (limited to 'server/tests/api/users/blocklist.ts')
-rw-r--r-- | server/tests/api/users/blocklist.ts | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/server/tests/api/users/blocklist.ts b/server/tests/api/users/blocklist.ts index 34eabf2e6..fbc57e0ef 100644 --- a/server/tests/api/users/blocklist.ts +++ b/server/tests/api/users/blocklist.ts | |||
@@ -4,6 +4,7 @@ import * as chai from 'chai' | |||
4 | import 'mocha' | 4 | import 'mocha' |
5 | import { AccountBlock, ServerBlock, Video } from '../../../../shared/index' | 5 | import { AccountBlock, ServerBlock, Video } from '../../../../shared/index' |
6 | import { | 6 | import { |
7 | cleanupTests, | ||
7 | createUser, | 8 | createUser, |
8 | doubleFollow, | 9 | doubleFollow, |
9 | flushAndRunMultipleServers, | 10 | flushAndRunMultipleServers, |
@@ -498,7 +499,7 @@ describe('Test blocklist', function () { | |||
498 | }) | 499 | }) |
499 | }) | 500 | }) |
500 | 501 | ||
501 | after(function () { | 502 | after(async function () { |
502 | killallServers(servers) | 503 | await cleanupTests(servers) |
503 | }) | 504 | }) |
504 | }) | 505 | }) |