aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api')
-rw-r--r--server/tests/api/videos/resumable-upload.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/api/videos/resumable-upload.ts b/server/tests/api/videos/resumable-upload.ts
index a70a7258b..2fbefb392 100644
--- a/server/tests/api/videos/resumable-upload.ts
+++ b/server/tests/api/videos/resumable-upload.ts
@@ -79,7 +79,7 @@ describe('Test resumable upload', function () {
79 async function checkFileSize (uploadIdArg: string, expectedSize: number | null) { 79 async function checkFileSize (uploadIdArg: string, expectedSize: number | null) {
80 const uploadId = uploadIdArg.replace(/^upload_id=/, '') 80 const uploadId = uploadIdArg.replace(/^upload_id=/, '')
81 81
82 const subPath = join('tmp', 'resumable-uploads', uploadId) 82 const subPath = join('tmp', 'resumable-uploads', `${rootId}-${uploadId}.mp4`)
83 const filePath = server.servers.buildDirectory(subPath) 83 const filePath = server.servers.buildDirectory(subPath)
84 const exists = await pathExists(filePath) 84 const exists = await pathExists(filePath)
85 85