Fix tests

This commit is contained in:
Chocobozzz
2018-08-23 10:30:53 +02:00
parent 83e6519ba4
commit 240085d005
7 changed files with 15 additions and 14 deletions

View 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)
}
})