This commit is contained in:
Chocobozzz 2024-02-23 15:07:09 +01:00
parent 0165786f65
commit 094accd873
No known key found for this signature in database
GPG Key ID: 583A612D890159BE

View File

@ -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
} }