diff options
Diffstat (limited to 'server/tests/api/check-params/logs.ts')
-rw-r--r-- | server/tests/api/check-params/logs.ts | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/server/tests/api/check-params/logs.ts b/server/tests/api/check-params/logs.ts index dac1e6b98..83ecfec93 100644 --- a/server/tests/api/check-params/logs.ts +++ b/server/tests/api/check-params/logs.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' |
13 | import { makeGetRequest } from '../../../../shared/extra-utils/requests/requests' | 12 | import { makeGetRequest } from '../../../../shared/extra-utils/requests/requests' |
14 | import { HttpStatusCode } from '../../../../shared/core-utils/miscs/http-error-codes' | 13 | import { HttpStatusCode } from '../../../../shared/core-utils/miscs/http-error-codes' |
@@ -32,7 +31,7 @@ describe('Test logs 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 logs', function () { | 37 | describe('When getting logs', function () { |