aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/cli/update-host.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-08-23 10:30:53 +0200
committerChocobozzz <me@florianbigard.com>2018-08-27 09:41:54 +0200
commit240085d0056fd97ac3c7fa8fa4ce9bc32afc4d6e (patch)
tree99879ddce7d4b2970c263cb045c5057ed07354d4 /server/tests/cli/update-host.ts
parent83e6519ba4ee752dc3148a16c69effbfccb13e6b (diff)
downloadPeerTube-240085d0056fd97ac3c7fa8fa4ce9bc32afc4d6e.tar.gz
PeerTube-240085d0056fd97ac3c7fa8fa4ce9bc32afc4d6e.tar.zst
PeerTube-240085d0056fd97ac3c7fa8fa4ce9bc32afc4d6e.zip
Fix tests
Diffstat (limited to 'server/tests/cli/update-host.ts')
-rw-r--r--server/tests/cli/update-host.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/cli/update-host.ts b/server/tests/cli/update-host.ts
index 7f54c0e70..b89e72ab7 100644
--- a/server/tests/cli/update-host.ts
+++ b/server/tests/cli/update-host.ts
@@ -94,9 +94,9 @@ describe('Test update host scripts', function () {
94 expect(res.body.total).to.equal(3) 94 expect(res.body.total).to.equal(3)
95 95
96 for (const channel of res.body.data) { 96 for (const channel of res.body.data) {
97 const { body } = await makeActivityPubGetRequest(server.url, '/video-channels/' + channel.uuid) 97 const { body } = await makeActivityPubGetRequest(server.url, '/video-channels/' + channel.name)
98 98
99 expect(body.id).to.equal('http://localhost:9002/video-channels/' + channel.uuid) 99 expect(body.id).to.equal('http://localhost:9002/video-channels/' + channel.name)
100 } 100 }
101 }) 101 })
102 102