aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/check-params/debug.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api/check-params/debug.ts')
-rw-r--r--server/tests/api/check-params/debug.ts5
1 files changed, 2 insertions, 3 deletions
diff --git a/server/tests/api/check-params/debug.ts b/server/tests/api/check-params/debug.ts
index 37bf0f99b..dc033a441 100644
--- a/server/tests/api/check-params/debug.ts
+++ b/server/tests/api/check-params/debug.ts
@@ -7,8 +7,7 @@ import {
7 createUser, 7 createUser,
8 flushAndRunServer, 8 flushAndRunServer,
9 ServerInfo, 9 ServerInfo,
10 setAccessTokensToServers, 10 setAccessTokensToServers
11 userLogin
12} from '../../../../shared/extra-utils' 11} from '../../../../shared/extra-utils'
13import { makeGetRequest } from '../../../../shared/extra-utils/requests/requests' 12import { makeGetRequest } from '../../../../shared/extra-utils/requests/requests'
14import { HttpStatusCode } from '../../../../shared/core-utils/miscs/http-error-codes' 13import { HttpStatusCode } from '../../../../shared/core-utils/miscs/http-error-codes'
@@ -32,7 +31,7 @@ describe('Test debug API validators', function () {
32 password: 'my super password' 31 password: 'my super password'
33 } 32 }
34 await createUser({ url: server.url, accessToken: server.accessToken, username: user.username, password: user.password }) 33 await createUser({ url: server.url, accessToken: server.accessToken, username: user.username, password: user.password })
35 userAccessToken = await userLogin(server, user) 34 userAccessToken = await server.loginCommand.getAccessToken(user)
36 }) 35 })
37 36
38 describe('When getting debug endpoint', function () { 37 describe('When getting debug endpoint', function () {