aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/check-params/redundancy.ts
diff options
context:
space:
mode:
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 () {