aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/check-params/redundancy.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-07-16 09:04:35 +0200
committerChocobozzz <me@florianbigard.com>2021-07-20 15:27:18 +0200
commit89d241a79c262b9775c233b73cff080043ebb5e6 (patch)
treecb3b6cb431d25d891ef4e02f66c61d252d17048f /server/tests/api/check-params/redundancy.ts
parentd23dd9fbfc4d26026352c10f81d2795ceaf2908a (diff)
downloadPeerTube-89d241a79c262b9775c233b73cff080043ebb5e6.tar.gz
PeerTube-89d241a79c262b9775c233b73cff080043ebb5e6.tar.zst
PeerTube-89d241a79c262b9775c233b73cff080043ebb5e6.zip
Shorter server command names
Diffstat (limited to 'server/tests/api/check-params/redundancy.ts')
-rw-r--r--server/tests/api/check-params/redundancy.ts10
1 files changed, 5 insertions, 5 deletions
diff --git a/server/tests/api/check-params/redundancy.ts b/server/tests/api/check-params/redundancy.ts
index b1692b986..fca92fde4 100644
--- a/server/tests/api/check-params/redundancy.ts
+++ b/server/tests/api/check-params/redundancy.ts
@@ -40,16 +40,16 @@ describe('Test server redundancy API validators', function () {
40 password: 'password' 40 password: 'password'
41 } 41 }
42 42
43 await servers[0].usersCommand.create({ username: user.username, password: user.password }) 43 await servers[0].users.create({ username: user.username, password: user.password })
44 userAccessToken = await servers[0].loginCommand.getAccessToken(user) 44 userAccessToken = await servers[0].login.getAccessToken(user)
45 45
46 videoIdLocal = (await servers[0].videosCommand.quickUpload({ name: 'video' })).id 46 videoIdLocal = (await servers[0].videos.quickUpload({ name: 'video' })).id
47 47
48 const remoteUUID = (await servers[1].videosCommand.quickUpload({ name: 'video' })).uuid 48 const remoteUUID = (await servers[1].videos.quickUpload({ name: 'video' })).uuid
49 49
50 await waitJobs(servers) 50 await waitJobs(servers)
51 51
52 videoRemote = await servers[0].videosCommand.get({ id: remoteUUID }) 52 videoRemote = await servers[0].videos.get({ id: remoteUUID })
53 }) 53 })
54 54
55 describe('When listing redundancies', function () { 55 describe('When listing redundancies', function () {