Fix regenerate thumbnail test

This commit is contained in:
Chocobozzz
2023-06-19 15:47:16 +02:00
parent cf069671f4
commit 17ad0e8428

View File

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