From 17ad0e8428c2b187f86e3a507a96706e77d44fa1 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 19 Jun 2023 15:47:16 +0200 Subject: [PATCH] Fix regenerate thumbnail test --- server/tests/cli/regenerate-thumbnails.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/server/tests/cli/regenerate-thumbnails.ts b/server/tests/cli/regenerate-thumbnails.ts index 16a8adcda..66de7f79c 100644 --- a/server/tests/cli/regenerate-thumbnails.ts +++ b/server/tests/cli/regenerate-thumbnails.ts @@ -60,6 +60,9 @@ describe('Test regenerate thumbnails script', function () { remoteVideo = await servers[0].videos.get({ id: videoUUID }) + // Load remote thumbnail on disk + await makeGetRequest({ url: servers[0].url, path: remoteVideo.thumbnailPath, expectedStatus: HttpStatusCode.OK_200 }) + thumbnailRemotePath = join(servers[0].servers.buildDirectory('thumbnails'), basename(remoteVideo.thumbnailPath)) }