mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-11-22 16:56:39 -06:00
Fix CI
This commit is contained in:
parent
0165786f65
commit
094accd873
@ -690,14 +690,10 @@ describe('Test config', function () {
|
|||||||
|
|
||||||
async function checkAndGetServerImages () {
|
async function checkAndGetServerImages () {
|
||||||
const { instance } = await server.config.getAbout()
|
const { instance } = await server.config.getAbout()
|
||||||
const htmlConfig = await server.config.getIndexHTMLConfig()
|
const htmlConfig = await server.config.getConfig()
|
||||||
const serverConfig = await server.config.getIndexHTMLConfig()
|
|
||||||
|
|
||||||
expect(instance.avatars).to.deep.equal(htmlConfig.instance.avatars)
|
expect(instance.avatars).to.deep.equal(htmlConfig.instance.avatars)
|
||||||
expect(serverConfig.instance.avatars).to.deep.equal(htmlConfig.instance.avatars)
|
|
||||||
|
|
||||||
expect(instance.banners).to.deep.equal(htmlConfig.instance.banners)
|
expect(instance.banners).to.deep.equal(htmlConfig.instance.banners)
|
||||||
expect(serverConfig.instance.banners).to.deep.equal(htmlConfig.instance.banners)
|
|
||||||
|
|
||||||
return htmlConfig.instance
|
return htmlConfig.instance
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user