aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/check-params/video-captions.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api/check-params/video-captions.ts')
-rw-r--r--server/tests/api/check-params/video-captions.ts5
1 files changed, 2 insertions, 3 deletions
diff --git a/server/tests/api/check-params/video-captions.ts b/server/tests/api/check-params/video-captions.ts
index baab0f276..f2fd61b91 100644
--- a/server/tests/api/check-params/video-captions.ts
+++ b/server/tests/api/check-params/video-captions.ts
@@ -12,8 +12,7 @@ import {
12 makeUploadRequest, 12 makeUploadRequest,
13 ServerInfo, 13 ServerInfo,
14 setAccessTokensToServers, 14 setAccessTokensToServers,
15 uploadVideo, 15 uploadVideo
16 userLogin
17} from '@shared/extra-utils' 16} from '@shared/extra-utils'
18import { VideoCreateResult } from '@shared/models' 17import { VideoCreateResult } from '@shared/models'
19 18
@@ -44,7 +43,7 @@ describe('Test video captions API validator', function () {
44 password: 'my super password' 43 password: 'my super password'
45 } 44 }
46 await createUser({ url: server.url, accessToken: server.accessToken, username: user.username, password: user.password }) 45 await createUser({ url: server.url, accessToken: server.accessToken, username: user.username, password: user.password })
47 userAccessToken = await userLogin(server, user) 46 userAccessToken = await server.loginCommand.getAccessToken(user)
48 } 47 }
49 }) 48 })
50 49