aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/client.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-07-09 11:21:30 +0200
committerChocobozzz <me@florianbigard.com>2021-07-20 15:27:18 +0200
commita54618880c394ad7571f3f3222dc96ec2dd10d9a (patch)
treec9f7b05e578abc2383bccd707c11438c61857c72 /server/tests/client.ts
parent57f879a540551c3b958b0991c8e1e3657a4481d8 (diff)
downloadPeerTube-a54618880c394ad7571f3f3222dc96ec2dd10d9a.tar.gz
PeerTube-a54618880c394ad7571f3f3222dc96ec2dd10d9a.tar.zst
PeerTube-a54618880c394ad7571f3f3222dc96ec2dd10d9a.zip
Introduce channels command
Diffstat (limited to 'server/tests/client.ts')
-rw-r--r--server/tests/client.ts6
1 files changed, 4 insertions, 2 deletions
diff --git a/server/tests/client.ts b/server/tests/client.ts
index 129f1e1c0..1bdb2eb64 100644
--- a/server/tests/client.ts
+++ b/server/tests/client.ts
@@ -16,7 +16,6 @@ import {
16 setAccessTokensToServers, 16 setAccessTokensToServers,
17 setDefaultVideoChannel, 17 setDefaultVideoChannel,
18 updateMyUser, 18 updateMyUser,
19 updateVideoChannel,
20 uploadVideo, 19 uploadVideo,
21 waitJobs 20 waitJobs
22} from '../../shared/extra-utils' 21} from '../../shared/extra-utils'
@@ -63,7 +62,10 @@ describe('Test a client controllers', function () {
63 62
64 await setDefaultVideoChannel(servers) 63 await setDefaultVideoChannel(servers)
65 64
66 await updateVideoChannel(servers[0].url, servers[0].accessToken, servers[0].videoChannel.name, { description: channelDescription }) 65 await servers[0].channelsCommand.update({
66 channelName: servers[0].videoChannel.name,
67 attributes: { description: channelDescription }
68 })
67 69
68 // Video 70 // Video
69 71