1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-03 09:49:20 +02:00

Introduce channels command

This commit is contained in:
Chocobozzz 2021-07-09 11:21:30 +02:00
parent 57f879a540
commit a54618880c
No known key found for this signature in database
GPG key ID: 583A612D890159BE
26 changed files with 363 additions and 440 deletions

View file

@ -17,7 +17,6 @@ import {
ServerInfo,
updateMyUser,
updateVideo,
updateVideoChannel,
uploadRandomVideoOnServers,
wait,
waitJobs
@ -404,7 +403,11 @@ describe('Test user notifications', function () {
displayName: 'super root 2 name'
})
await updateVideoChannel(servers[0].url, userAccessToken, 'user_1_channel', { displayName: myChannelName })
await servers[0].channelsCommand.update({
token: userAccessToken,
channelName: 'user_1_channel',
attributes: { displayName: myChannelName }
})
})
it('Should notify when a local channel is following one of our channel', async function () {