// Create channel
const videoChannel = {
+ name: 'second_channel',
displayName: 'second video channel',
description: 'super video channel description'
}
expect(res.body.total).to.equal(3)
for (const channel of res.body.data) {
- const { body } = await makeActivityPubGetRequest(server.url, '/video-channels/' + channel.uuid)
+ const { body } = await makeActivityPubGetRequest(server.url, '/video-channels/' + channel.name)
- expect(body.id).to.equal('http://localhost:9002/video-channels/' + channel.uuid)
+ expect(body.id).to.equal('http://localhost:9002/video-channels/' + channel.name)
}
})