diff options
Diffstat (limited to 'server/tests/api/check-params/accounts.ts')
-rw-r--r-- | server/tests/api/check-params/accounts.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/tests/api/check-params/accounts.ts b/server/tests/api/check-params/accounts.ts index 086090533..4f79685bd 100644 --- a/server/tests/api/check-params/accounts.ts +++ b/server/tests/api/check-params/accounts.ts | |||
@@ -2,7 +2,7 @@ | |||
2 | 2 | ||
3 | import 'mocha' | 3 | import 'mocha' |
4 | 4 | ||
5 | import { flushTests, killallServers, flushAndRunServer, ServerInfo } from '../../../../shared/extra-utils' | 5 | import { cleanupTests, flushAndRunServer, ServerInfo } from '../../../../shared/extra-utils' |
6 | import { | 6 | import { |
7 | checkBadCountPagination, | 7 | checkBadCountPagination, |
8 | checkBadSortPagination, | 8 | checkBadSortPagination, |
@@ -42,7 +42,7 @@ describe('Test accounts API validators', function () { | |||
42 | }) | 42 | }) |
43 | }) | 43 | }) |
44 | 44 | ||
45 | after(function () { | 45 | after(async function () { |
46 | killallServers([ server ]) | 46 | await cleanupTests([ server ]) |
47 | }) | 47 | }) |
48 | }) | 48 | }) |