diff options
Diffstat (limited to 'server/tests/cli/reset-password.ts')
-rw-r--r-- | server/tests/cli/reset-password.ts | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/server/tests/cli/reset-password.ts b/server/tests/cli/reset-password.ts index 1d6423814..6abb6738f 100644 --- a/server/tests/cli/reset-password.ts +++ b/server/tests/cli/reset-password.ts | |||
@@ -1,13 +1,12 @@ | |||
1 | import 'mocha' | 1 | import 'mocha' |
2 | 2 | ||
3 | import { | 3 | import { |
4 | cleanupTests, | ||
4 | createUser, | 5 | createUser, |
5 | execCLI, | 6 | execCLI, |
6 | flushTests, | 7 | flushAndRunServer, |
7 | getEnvCli, | 8 | getEnvCli, |
8 | killallServers, | ||
9 | login, | 9 | login, |
10 | flushAndRunServer, | ||
11 | ServerInfo, | 10 | ServerInfo, |
12 | setAccessTokensToServers | 11 | setAccessTokensToServers |
13 | } from '../../../shared/extra-utils' | 12 | } from '../../../shared/extra-utils' |
@@ -32,7 +31,7 @@ describe('Test reset password scripts', function () { | |||
32 | await login(server.url, server.client, { username: 'user_1', password: 'coucou' }, 200) | 31 | await login(server.url, server.client, { username: 'user_1', password: 'coucou' }, 200) |
33 | }) | 32 | }) |
34 | 33 | ||
35 | after(function () { | 34 | after(async function () { |
36 | killallServers([ server ]) | 35 | await cleanupTests([ server ]) |
37 | }) | 36 | }) |
38 | }) | 37 | }) |