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 () {
const { instance } = await server.config.getAbout()
const htmlConfig = await server.config.getIndexHTMLConfig()
const serverConfig = await server.config.getIndexHTMLConfig()
const htmlConfig = await server.config.getConfig()
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(serverConfig.instance.banners).to.deep.equal(htmlConfig.instance.banners)
return htmlConfig.instance
}