diff options
author | Chocobozzz <me@florianbigard.com> | 2018-08-23 10:30:53 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-08-27 09:41:54 +0200 |
commit | 240085d0056fd97ac3c7fa8fa4ce9bc32afc4d6e (patch) | |
tree | 99879ddce7d4b2970c263cb045c5057ed07354d4 /server/tests/cli | |
parent | 83e6519ba4ee752dc3148a16c69effbfccb13e6b (diff) | |
download | PeerTube-240085d0056fd97ac3c7fa8fa4ce9bc32afc4d6e.tar.gz PeerTube-240085d0056fd97ac3c7fa8fa4ce9bc32afc4d6e.tar.zst PeerTube-240085d0056fd97ac3c7fa8fa4ce9bc32afc4d6e.zip |
Fix tests
Diffstat (limited to 'server/tests/cli')
-rw-r--r-- | server/tests/cli/update-host.ts | 4 |
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 | ||