aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/object-storage
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api/object-storage')
-rw-r--r--server/tests/api/object-storage/live.ts2
-rw-r--r--server/tests/api/object-storage/video-imports.ts4
2 files changed, 3 insertions, 3 deletions
diff --git a/server/tests/api/object-storage/live.ts b/server/tests/api/object-storage/live.ts
index d3e6777f2..3726a717b 100644
--- a/server/tests/api/object-storage/live.ts
+++ b/server/tests/api/object-storage/live.ts
@@ -123,7 +123,7 @@ describe('Object storage for lives', function () {
123 expect(video.streamingPlaylists).to.have.lengthOf(1) 123 expect(video.streamingPlaylists).to.have.lengthOf(1)
124 124
125 const files = video.streamingPlaylists[0].files 125 const files = video.streamingPlaylists[0].files
126 expect(files).to.have.lengthOf(4) 126 expect(files).to.have.lengthOf(5)
127 127
128 await checkFiles(files) 128 await checkFiles(files)
129 } 129 }
diff --git a/server/tests/api/object-storage/video-imports.ts b/server/tests/api/object-storage/video-imports.ts
index efc01f550..363fe3b5b 100644
--- a/server/tests/api/object-storage/video-imports.ts
+++ b/server/tests/api/object-storage/video-imports.ts
@@ -88,9 +88,9 @@ describe('Object storage for video import', function () {
88 88
89 const video = await server.videos.get({ id: uuid }) 89 const video = await server.videos.get({ id: uuid })
90 90
91 expect(video.files).to.have.lengthOf(4) 91 expect(video.files).to.have.lengthOf(5)
92 expect(video.streamingPlaylists).to.have.lengthOf(1) 92 expect(video.streamingPlaylists).to.have.lengthOf(1)
93 expect(video.streamingPlaylists[0].files).to.have.lengthOf(4) 93 expect(video.streamingPlaylists[0].files).to.have.lengthOf(5)
94 94
95 for (const file of video.files) { 95 for (const file of video.files) {
96 expectStartWith(file.fileUrl, ObjectStorageCommand.getWebTorrentBaseUrl()) 96 expectStartWith(file.fileUrl, ObjectStorageCommand.getWebTorrentBaseUrl())