]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/tests/cli/update-host.ts
Set bitrate limits for transcoding (fixes #638) (#1135)
[github/Chocobozzz/PeerTube.git] / server / tests / cli / update-host.ts
index 7f54c0e70827b436b0c2e22645bb4316189ebab2..b89e72ab76c68d51c60625da6c488ed73a0db7e7 100644 (file)
@@ -94,9 +94,9 @@ describe('Test update host scripts', function () {
     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)
     }
   })