From 3a0c2a77b1a6626699514ddaf8135f4397175443 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 2 May 2023 13:51:06 +0200 Subject: Enable external plugins to test the PR --- server/tests/api/videos/resumable-upload.ts | 2 +- server/tests/cli/create-import-video-file-job.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'server/tests') 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 () { 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) diff --git a/server/tests/cli/create-import-video-file-job.ts b/server/tests/cli/create-import-video-file-job.ts index 43f53035b..3ece4f2ec 100644 --- a/server/tests/cli/create-import-video-file-job.ts +++ b/server/tests/cli/create-import-video-file-job.ts @@ -73,7 +73,7 @@ function runTests (objectStorage: boolean) { }) it('Should run a import job on video 1 with a lower resolution', async function () { - const command = `npm run create-import-video-file-job -- -v ${video1ShortId} -i server/tests/fixtures/video_short-480.webm` + const command = `npm run create-import-video-file-job -- -v ${video1ShortId} -i server/tests/fixtures/video_short_480.webm` await servers[0].cli.execWithEnv(command) await waitJobs(servers) -- cgit v1.2.3