diff options
Diffstat (limited to 'server/tests/api/videos/multiple-servers.ts')
-rw-r--r-- | server/tests/api/videos/multiple-servers.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/server/tests/api/videos/multiple-servers.ts b/server/tests/api/videos/multiple-servers.ts index 1905aac83..740314bfd 100644 --- a/server/tests/api/videos/multiple-servers.ts +++ b/server/tests/api/videos/multiple-servers.ts | |||
@@ -24,7 +24,6 @@ import { | |||
24 | testImage, | 24 | testImage, |
25 | updateVideo, | 25 | updateVideo, |
26 | uploadVideo, | 26 | uploadVideo, |
27 | userLogin, | ||
28 | viewVideo, | 27 | viewVideo, |
29 | wait, | 28 | wait, |
30 | waitJobs, | 29 | waitJobs, |
@@ -155,7 +154,7 @@ describe('Test multiple servers', function () { | |||
155 | password: 'super_password' | 154 | password: 'super_password' |
156 | } | 155 | } |
157 | await createUser({ url: servers[1].url, accessToken: servers[1].accessToken, username: user.username, password: user.password }) | 156 | await createUser({ url: servers[1].url, accessToken: servers[1].accessToken, username: user.username, password: user.password }) |
158 | const userAccessToken = await userLogin(servers[1], user) | 157 | const userAccessToken = await servers[1].loginCommand.getAccessToken(user) |
159 | 158 | ||
160 | const videoAttributes = { | 159 | const videoAttributes = { |
161 | name: 'my super name for server 2', | 160 | name: 'my super name for server 2', |