diff options
author | Chocobozzz <me@florianbigard.com> | 2021-07-16 09:04:35 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-07-20 15:27:18 +0200 |
commit | 89d241a79c262b9775c233b73cff080043ebb5e6 (patch) | |
tree | cb3b6cb431d25d891ef4e02f66c61d252d17048f /server/tests/api/check-params/jobs.ts | |
parent | d23dd9fbfc4d26026352c10f81d2795ceaf2908a (diff) | |
download | PeerTube-89d241a79c262b9775c233b73cff080043ebb5e6.tar.gz PeerTube-89d241a79c262b9775c233b73cff080043ebb5e6.tar.zst PeerTube-89d241a79c262b9775c233b73cff080043ebb5e6.zip |
Shorter server command names
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 () { |