aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/videos/video-comments.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api/videos/video-comments.ts')
-rw-r--r--server/tests/api/videos/video-comments.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/server/tests/api/videos/video-comments.ts b/server/tests/api/videos/video-comments.ts
index 548d9fbf5..f9bd23646 100644
--- a/server/tests/api/videos/video-comments.ts
+++ b/server/tests/api/videos/video-comments.ts
@@ -8,7 +8,6 @@ import {
8 createUser, 8 createUser,
9 dateIsValid, 9 dateIsValid,
10 flushAndRunServer, 10 flushAndRunServer,
11 getAccessToken,
12 ServerInfo, 11 ServerInfo,
13 setAccessTokensToServers, 12 setAccessTokensToServers,
14 testImage, 13 testImage,
@@ -52,7 +51,7 @@ describe('Test video comments', function () {
52 username: 'user1', 51 username: 'user1',
53 password: 'password' 52 password: 'password'
54 }) 53 })
55 userAccessTokenServer1 = await getAccessToken(server.url, 'user1', 'password') 54 userAccessTokenServer1 = await server.loginCommand.getAccessToken('user1', 'password')
56 55
57 command = server.commentsCommand 56 command = server.commentsCommand
58 }) 57 })