diff options
Diffstat (limited to 'server/tests/api/check-params/follows.ts')
-rw-r--r-- | server/tests/api/check-params/follows.ts | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/server/tests/api/check-params/follows.ts b/server/tests/api/check-params/follows.ts index 02f47c2bb..2eb54cb0a 100644 --- a/server/tests/api/check-params/follows.ts +++ b/server/tests/api/check-params/follows.ts | |||
@@ -3,7 +3,13 @@ | |||
3 | import 'mocha' | 3 | import 'mocha' |
4 | 4 | ||
5 | import { | 5 | import { |
6 | createUser, flushTests, killallServers, makeDeleteRequest, makePostBodyRequest, flushAndRunServer, ServerInfo, setAccessTokensToServers, | 6 | cleanupTests, |
7 | createUser, | ||
8 | flushAndRunServer, | ||
9 | makeDeleteRequest, | ||
10 | makePostBodyRequest, | ||
11 | ServerInfo, | ||
12 | setAccessTokensToServers, | ||
7 | userLogin | 13 | userLogin |
8 | } from '../../../../shared/extra-utils' | 14 | } from '../../../../shared/extra-utils' |
9 | import { | 15 | import { |
@@ -295,7 +301,7 @@ describe('Test server follows API validators', function () { | |||
295 | }) | 301 | }) |
296 | }) | 302 | }) |
297 | 303 | ||
298 | after(function () { | 304 | after(async function () { |
299 | killallServers([ server ]) | 305 | await cleanupTests([ server ]) |
300 | }) | 306 | }) |
301 | }) | 307 | }) |