diff options
Diffstat (limited to 'server/tests/api/videos/video-comments.ts')
-rw-r--r-- | server/tests/api/videos/video-comments.ts | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/server/tests/api/videos/video-comments.ts b/server/tests/api/videos/video-comments.ts index 41be54c81..adb59bd74 100644 --- a/server/tests/api/videos/video-comments.ts +++ b/server/tests/api/videos/video-comments.ts | |||
@@ -32,15 +32,15 @@ describe('Test video comments', function () { | |||
32 | 32 | ||
33 | await setAccessTokensToServers([ server ]) | 33 | await setAccessTokensToServers([ server ]) |
34 | 34 | ||
35 | const { id, uuid } = await server.videosCommand.upload() | 35 | const { id, uuid } = await server.videos.upload() |
36 | videoUUID = uuid | 36 | videoUUID = uuid |
37 | videoId = id | 37 | videoId = id |
38 | 38 | ||
39 | await server.usersCommand.updateMyAvatar({ fixture: 'avatar.png' }) | 39 | await server.users.updateMyAvatar({ fixture: 'avatar.png' }) |
40 | 40 | ||
41 | userAccessTokenServer1 = await server.usersCommand.generateUserAndToken('user1') | 41 | userAccessTokenServer1 = await server.users.generateUserAndToken('user1') |
42 | 42 | ||
43 | command = server.commentsCommand | 43 | command = server.comments |
44 | }) | 44 | }) |
45 | 45 | ||
46 | describe('User comments', function () { | 46 | describe('User comments', function () { |