diff options
author | Chocobozzz <me@florianbigard.com> | 2021-07-16 09:04:35 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-07-20 15:27:18 +0200 |
commit | 89d241a79c262b9775c233b73cff080043ebb5e6 (patch) | |
tree | cb3b6cb431d25d891ef4e02f66c61d252d17048f /server/tests/api/videos/video-comments.ts | |
parent | d23dd9fbfc4d26026352c10f81d2795ceaf2908a (diff) | |
download | PeerTube-89d241a79c262b9775c233b73cff080043ebb5e6.tar.gz PeerTube-89d241a79c262b9775c233b73cff080043ebb5e6.tar.zst PeerTube-89d241a79c262b9775c233b73cff080043ebb5e6.zip |
Shorter server command names
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 () { |