diff options
Diffstat (limited to 'server/tests/api/check-params/jobs.ts')
-rw-r--r-- | server/tests/api/check-params/jobs.ts | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/server/tests/api/check-params/jobs.ts b/server/tests/api/check-params/jobs.ts index 3c1d2049b..cbe6a28b8 100644 --- a/server/tests/api/check-params/jobs.ts +++ b/server/tests/api/check-params/jobs.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 { | 12 | import { |
14 | checkBadCountPagination, | 13 | checkBadCountPagination, |
@@ -37,7 +36,7 @@ describe('Test jobs API validators', function () { | |||
37 | password: 'my super password' | 36 | password: 'my super password' |
38 | } | 37 | } |
39 | await createUser({ url: server.url, accessToken: server.accessToken, username: user.username, password: user.password }) | 38 | await createUser({ url: server.url, accessToken: server.accessToken, username: user.username, password: user.password }) |
40 | userAccessToken = await userLogin(server, user) | 39 | userAccessToken = await server.loginCommand.getAccessToken(user) |
41 | }) | 40 | }) |
42 | 41 | ||
43 | describe('When listing jobs', function () { | 42 | describe('When listing jobs', function () { |