mirror of https://github.com/Chocobozzz/PeerTube
Fix tests
parent
e06e2da187
commit
b39214cb13
|
@ -212,11 +212,11 @@ describe('Test misc endpoints', function () {
|
|||
expect(res.text).to.contain('<video:title>video 2</video:title>')
|
||||
expect(res.text).to.not.contain('<video:title>video 3</video:title>')
|
||||
|
||||
expect(res.text).to.contain('<url><loc>' + server.url + '/c/channel1</loc></url>')
|
||||
expect(res.text).to.contain('<url><loc>' + server.url + '/c/channel2</loc></url>')
|
||||
expect(res.text).to.contain('<url><loc>' + server.url + '/c/channel1/videos</loc></url>')
|
||||
expect(res.text).to.contain('<url><loc>' + server.url + '/c/channel2/videos</loc></url>')
|
||||
|
||||
expect(res.text).to.contain('<url><loc>' + server.url + '/a/user1</loc></url>')
|
||||
expect(res.text).to.contain('<url><loc>' + server.url + '/a/user2</loc></url>')
|
||||
expect(res.text).to.contain('<url><loc>' + server.url + '/a/user1/video-channels</loc></url>')
|
||||
expect(res.text).to.contain('<url><loc>' + server.url + '/a/user2/video-channels</loc></url>')
|
||||
})
|
||||
|
||||
it('Should not fail with big title/description videos', async function () {
|
||||
|
|
Loading…
Reference in New Issue