]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/tests/api/videos/resumable-upload.ts
Enable external plugins to test the PR
[github/Chocobozzz/PeerTube.git] / server / tests / api / videos / resumable-upload.ts
index a70a7258b9d87f3738d89a74bcc41a08cc7a7ddc..2fbefb39282d7ce372c20068a9d1354f7d98344e 100644 (file)
@@ -79,7 +79,7 @@ describe('Test resumable upload', function () {
   async function checkFileSize (uploadIdArg: string, expectedSize: number | null) {
     const uploadId = uploadIdArg.replace(/^upload_id=/, '')
 
-    const subPath = join('tmp', 'resumable-uploads', uploadId)
+    const subPath = join('tmp', 'resumable-uploads', `${rootId}-${uploadId}.mp4`)
     const filePath = server.servers.buildDirectory(subPath)
     const exists = await pathExists(filePath)