From 790c2837ddcb443c0f1ea6adcdcb101dfe159d01 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 9 Sep 2021 09:31:50 +0200 Subject: Fix silent 500 after resumable upload --- server/tests/api/videos/resumable-upload.ts | 1 + 1 file changed, 1 insertion(+) (limited to 'server/tests/api') diff --git a/server/tests/api/videos/resumable-upload.ts b/server/tests/api/videos/resumable-upload.ts index 857859fd3..59970aa94 100644 --- a/server/tests/api/videos/resumable-upload.ts +++ b/server/tests/api/videos/resumable-upload.ts @@ -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) }) -- cgit v1.2.3