]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/tests/api/videos/resumable-upload.ts
Fix silent 500 after resumable upload
[github/Chocobozzz/PeerTube.git] / server / tests / api / videos / resumable-upload.ts
index 857859fd3a95c4209bd361b052871caf6dea3d44..59970aa943ea57854b3387cd0d7a3fa0617908c9 100644 (file)
@@ -113,6 +113,7 @@ describe('Test resumable upload', function () {
     it('Should correctly delete files after an upload', async function () {
       const uploadId = await prepareUpload()
       await sendChunks({ pathUploadId: uploadId })
+      await server.videos.endResumableUpload({ pathUploadId: uploadId })
 
       expect(await countResumableUploads()).to.equal(0)
     })