diff options
author | Chocobozzz <me@florianbigard.com> | 2023-05-02 13:51:06 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2023-05-09 08:57:34 +0200 |
commit | 3a0c2a77b1a6626699514ddaf8135f4397175443 (patch) | |
tree | 60bec7ef8e9cdc008b0a4a56aa403617d036bfab /server/tests/api/videos/resumable-upload.ts | |
parent | 9a3db678f56eda37d222cf2d2232ae0ef5d533d2 (diff) | |
download | PeerTube-3a0c2a77b1a6626699514ddaf8135f4397175443.tar.gz PeerTube-3a0c2a77b1a6626699514ddaf8135f4397175443.tar.zst PeerTube-3a0c2a77b1a6626699514ddaf8135f4397175443.zip |
Enable external plugins to test the PR
Diffstat (limited to 'server/tests/api/videos/resumable-upload.ts')
-rw-r--r-- | server/tests/api/videos/resumable-upload.ts | 2 |
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 | ||