diff options
Diffstat (limited to 'server/tests/api/object-storage/video-imports.ts')
-rw-r--r-- | server/tests/api/object-storage/video-imports.ts | 4 |
1 files changed, 2 insertions, 2 deletions
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()) |