diff options
Diffstat (limited to 'server/tests/api/check-params/config.ts')
-rw-r--r-- | server/tests/api/check-params/config.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/server/tests/api/check-params/config.ts b/server/tests/api/check-params/config.ts index 3d80c629e..2a2ec606a 100644 --- a/server/tests/api/check-params/config.ts +++ b/server/tests/api/check-params/config.ts | |||
@@ -6,7 +6,7 @@ import { CustomConfig } from '../../../../shared/models/server/custom-config.mod | |||
6 | 6 | ||
7 | import { | 7 | import { |
8 | createUser, flushTests, killallServers, makeDeleteRequest, makeGetRequest, makePutBodyRequest, flushAndRunServer, ServerInfo, | 8 | createUser, flushTests, killallServers, makeDeleteRequest, makeGetRequest, makePutBodyRequest, flushAndRunServer, ServerInfo, |
9 | setAccessTokensToServers, userLogin, immutableAssign | 9 | setAccessTokensToServers, userLogin, immutableAssign, cleanupTests |
10 | } from '../../../../shared/extra-utils' | 10 | } from '../../../../shared/extra-utils' |
11 | 11 | ||
12 | describe('Test config API validators', function () { | 12 | describe('Test config API validators', function () { |
@@ -181,7 +181,7 @@ describe('Test config API validators', function () { | |||
181 | }) | 181 | }) |
182 | 182 | ||
183 | it('Should fail if email disabled and signup requires email verification', async function () { | 183 | it('Should fail if email disabled and signup requires email verification', async function () { |
184 | // opposite scenario - succcess when enable enabled - covered via tests/api/users/user-verification.ts | 184 | // opposite scenario - success when enable enabled - covered via tests/api/users/user-verification.ts |
185 | const newUpdateParams = immutableAssign(updateParams, { | 185 | const newUpdateParams = immutableAssign(updateParams, { |
186 | signup: { | 186 | signup: { |
187 | enabled: true, | 187 | enabled: true, |
@@ -229,7 +229,7 @@ describe('Test config API validators', function () { | |||
229 | }) | 229 | }) |
230 | }) | 230 | }) |
231 | 231 | ||
232 | after(function () { | 232 | after(async function () { |
233 | killallServers([ server ]) | 233 | await cleanupTests([ server ]) |
234 | }) | 234 | }) |
235 | }) | 235 | }) |