diff options
author | Chocobozzz <me@florianbigard.com> | 2023-06-19 15:47:16 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2023-06-29 10:19:55 +0200 |
commit | 17ad0e8428c2b187f86e3a507a96706e77d44fa1 (patch) | |
tree | 3cdcef758489f18f09a9170a500e191a3f4d47dc | |
parent | cf069671f44a4b03d6d5d34f17160b2253f29654 (diff) | |
download | PeerTube-17ad0e8428c2b187f86e3a507a96706e77d44fa1.tar.gz PeerTube-17ad0e8428c2b187f86e3a507a96706e77d44fa1.tar.zst PeerTube-17ad0e8428c2b187f86e3a507a96706e77d44fa1.zip |
Fix regenerate thumbnail test
-rw-r--r-- | server/tests/cli/regenerate-thumbnails.ts | 3 |
1 files changed, 3 insertions, 0 deletions
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 () { | |||
60 | 60 | ||
61 | remoteVideo = await servers[0].videos.get({ id: videoUUID }) | 61 | remoteVideo = await servers[0].videos.get({ id: videoUUID }) |
62 | 62 | ||
63 | // Load remote thumbnail on disk | ||
64 | await makeGetRequest({ url: servers[0].url, path: remoteVideo.thumbnailPath, expectedStatus: HttpStatusCode.OK_200 }) | ||
65 | |||
63 | thumbnailRemotePath = join(servers[0].servers.buildDirectory('thumbnails'), basename(remoteVideo.thumbnailPath)) | 66 | thumbnailRemotePath = join(servers[0].servers.buildDirectory('thumbnails'), basename(remoteVideo.thumbnailPath)) |
64 | } | 67 | } |
65 | 68 | ||