Fix regenerate thumbnail test

pull/5870/head
Chocobozzz 2023-06-19 15:47:16 +02:00
parent cf069671f4
commit 17ad0e8428
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 3 additions and 0 deletions

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