From c37e305342c8655325f9606aa1f4b29abc471b39 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 6 Jun 2023 11:14:13 +0200 Subject: Fix CI tests --- server/tests/helpers/image.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'server/tests/helpers') diff --git a/server/tests/helpers/image.ts b/server/tests/helpers/image.ts index 530c9bacd..6021ffc48 100644 --- a/server/tests/helpers/image.ts +++ b/server/tests/helpers/image.ts @@ -35,28 +35,28 @@ describe('Image helpers', function () { const thumbnailSize = { width: 280, height: 157 } it('Should skip processing if the source image is okay', async function () { - const input = buildAbsoluteFixturePath('thumbnail.jpg') + const input = buildAbsoluteFixturePath('custom-thumbnail.jpg') await processImage({ path: input, destination: imageDestJPG, newSize: thumbnailSize, keepOriginal: true }) await checkBuffers(input, imageDestJPG, true) }) it('Should not skip processing if the source image does not have the appropriate extension', async function () { - const input = buildAbsoluteFixturePath('thumbnail.png') + const input = buildAbsoluteFixturePath('custom-thumbnail.png') await processImage({ path: input, destination: imageDestJPG, newSize: thumbnailSize, keepOriginal: true }) await checkBuffers(input, imageDestJPG, false) }) it('Should not skip processing if the source image does not have the appropriate size', async function () { - const input = buildAbsoluteFixturePath('preview.jpg') + const input = buildAbsoluteFixturePath('custom-preview.jpg') await processImage({ path: input, destination: imageDestJPG, newSize: thumbnailSize, keepOriginal: true }) await checkBuffers(input, imageDestJPG, false) }) it('Should not skip processing if the source image does not have the appropriate size', async function () { - const input = buildAbsoluteFixturePath('thumbnail-big.jpg') + const input = buildAbsoluteFixturePath('custom-thumbnail-big.jpg') await processImage({ path: input, destination: imageDestJPG, newSize: thumbnailSize, keepOriginal: true }) await checkBuffers(input, imageDestJPG, false) -- cgit v1.2.3