aboutsummaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-06-19 16:21:03 +0200
committerChocobozzz <me@florianbigard.com>2023-06-29 10:19:55 +0200
commitd961735d5d46b9f352ce261293afe6e6abcc6a4e (patch)
tree2a854f490329025ec9fce2042784306c84785984 /server
parent180d8f297ecc40e4b70b963c32362eed3ddd9fec (diff)
downloadPeerTube-d961735d5d46b9f352ce261293afe6e6abcc6a4e.tar.gz
PeerTube-d961735d5d46b9f352ce261293afe6e6abcc6a4e.tar.zst
PeerTube-d961735d5d46b9f352ce261293afe6e6abcc6a4e.zip
Fix prune storage tests
Diffstat (limited to 'server')
-rw-r--r--server/tests/cli/prune-storage.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/cli/prune-storage.ts b/server/tests/cli/prune-storage.ts
index dc8ecd3d3..b60e522a4 100644
--- a/server/tests/cli/prune-storage.ts
+++ b/server/tests/cli/prune-storage.ts
@@ -48,7 +48,7 @@ async function assertCountAreOkay (servers: PeerTubeServer[]) {
48 expect(previewsCount).to.equal(3) 48 expect(previewsCount).to.equal(3)
49 49
50 const thumbnailsCount = await countFiles(server, 'thumbnails') 50 const thumbnailsCount = await countFiles(server, 'thumbnails')
51 expect(thumbnailsCount).to.equal(7) // 3 local videos, 1 local playlist, 2 remotes videos and 1 remote playlist 51 expect(thumbnailsCount).to.equal(5) // 3 local videos, 1 local playlist, 2 remotes videos (lazy downloaded) and 1 remote playlist
52 52
53 const avatarsCount = await countFiles(server, 'avatars') 53 const avatarsCount = await countFiles(server, 'avatars')
54 expect(avatarsCount).to.equal(4) 54 expect(avatarsCount).to.equal(4)