diff options
Diffstat (limited to 'server/tests/api/check-params/jobs.ts')
-rw-r--r-- | server/tests/api/check-params/jobs.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/api/check-params/jobs.ts b/server/tests/api/check-params/jobs.ts index 29439bebf..3786e8612 100644 --- a/server/tests/api/check-params/jobs.ts +++ b/server/tests/api/check-params/jobs.ts | |||
@@ -34,8 +34,8 @@ describe('Test jobs API validators', function () { | |||
34 | username: 'user1', | 34 | username: 'user1', |
35 | password: 'my super password' | 35 | password: 'my super password' |
36 | } | 36 | } |
37 | await server.usersCommand.create({ username: user.username, password: user.password }) | 37 | await server.users.create({ username: user.username, password: user.password }) |
38 | userAccessToken = await server.loginCommand.getAccessToken(user) | 38 | userAccessToken = await server.login.getAccessToken(user) |
39 | }) | 39 | }) |
40 | 40 | ||
41 | describe('When listing jobs', function () { | 41 | describe('When listing jobs', function () { |