mirror of https://github.com/Chocobozzz/PeerTube
Fix regenerate thumbnail test
parent
cf069671f4
commit
17ad0e8428
|
@ -60,6 +60,9 @@ describe('Test regenerate thumbnails script', function () {
|
||||||
|
|
||||||
remoteVideo = await servers[0].videos.get({ id: videoUUID })
|
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))
|
thumbnailRemotePath = join(servers[0].servers.buildDirectory('thumbnails'), basename(remoteVideo.thumbnailPath))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue