aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/shared
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/shared')
-rw-r--r--server/tests/shared/videos.ts13
1 files changed, 1 insertions, 12 deletions
diff --git a/server/tests/shared/videos.ts b/server/tests/shared/videos.ts
index 3ab245392..e18329e07 100644
--- a/server/tests/shared/videos.ts
+++ b/server/tests/shared/videos.ts
@@ -241,16 +241,6 @@ async function uploadRandomVideoOnServers (
241 return res 241 return res
242} 242}
243 243
244function getAllFiles (video: VideoDetails) {
245 const files = video.files
246
247 if (video.streamingPlaylists[0]) {
248 return files.concat(video.streamingPlaylists[0].files)
249 }
250
251 return files
252}
253
254// --------------------------------------------------------------------------- 244// ---------------------------------------------------------------------------
255 245
256export { 246export {
@@ -258,6 +248,5 @@ export {
258 checkUploadVideoParam, 248 checkUploadVideoParam,
259 uploadRandomVideoOnServers, 249 uploadRandomVideoOnServers,
260 checkVideoFilesWereRemoved, 250 checkVideoFilesWereRemoved,
261 saveVideoInServers, 251 saveVideoInServers
262 getAllFiles
263} 252}