mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-06 03:50:26 +02:00
Fix tests
This commit is contained in:
parent
d2adf1faff
commit
8a0269f4eb
4 changed files with 6 additions and 6 deletions
|
@ -47,7 +47,7 @@ describe('Test index HTML generation', function () {
|
|||
|
||||
it('Should have valid index html tags (title, description...)', async function () {
|
||||
const config = await servers[0].config.getConfig()
|
||||
const res = await makeHTMLRequest(servers[0].url, '/videos/trending')
|
||||
const res = await makeHTMLRequest(servers[0].url, '/videos/browse')
|
||||
|
||||
checkIndexTags(res.text, instanceConfig.name, instanceConfig.shortDescription, '', config)
|
||||
})
|
||||
|
@ -71,14 +71,14 @@ describe('Test index HTML generation', function () {
|
|||
})
|
||||
|
||||
const config = await servers[0].config.getConfig()
|
||||
const res = await makeHTMLRequest(servers[0].url, '/videos/trending')
|
||||
const res = await makeHTMLRequest(servers[0].url, '/videos/browse')
|
||||
|
||||
checkIndexTags(res.text, 'PeerTube updated', 'my short description', 'body { background-color: red; }', config)
|
||||
})
|
||||
|
||||
it('Should have valid index html updated tags (title, description...)', async function () {
|
||||
const config = await servers[0].config.getConfig()
|
||||
const res = await makeHTMLRequest(servers[0].url, '/videos/trending')
|
||||
const res = await makeHTMLRequest(servers[0].url, '/videos/browse')
|
||||
|
||||
checkIndexTags(res.text, 'PeerTube updated', 'my short description', 'body { background-color: red; }', config)
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue