From 92e66e04f7f51d37b465cff442ce47f6d6d7cadd Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 22 Mar 2022 16:58:49 +0100 Subject: Rename studio to editor --- server/tests/api/notifications/user-notifications.ts | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'server/tests/api/notifications') diff --git a/server/tests/api/notifications/user-notifications.ts b/server/tests/api/notifications/user-notifications.ts index c87686cb5..47e85a30c 100644 --- a/server/tests/api/notifications/user-notifications.ts +++ b/server/tests/api/notifications/user-notifications.ts @@ -7,7 +7,7 @@ import { checkMyVideoImportIsFinished, checkNewActorFollow, checkNewVideoFromSubscription, - checkVideoEditionIsFinished, + checkVideoStudioEditionIsFinished, checkVideoIsPublished, FIXTURE_URLS, MockSmtpServer, @@ -16,7 +16,7 @@ import { } from '@server/tests/shared' import { wait } from '@shared/core-utils' import { buildUUID } from '@shared/extra-utils' -import { UserNotification, UserNotificationType, VideoEditorTask, VideoPrivacy } from '@shared/models' +import { UserNotification, UserNotificationType, VideoStudioTask, VideoPrivacy } from '@shared/models' import { cleanupTests, PeerTubeServer, waitJobs } from '@shared/server-commands' const expect = chai.expect @@ -323,7 +323,7 @@ describe('Test user notifications', function () { }) }) - describe('Video editor', function () { + describe('Video studio', function () { let baseParams: CheckerBaseParams before(() => { @@ -335,7 +335,7 @@ describe('Test user notifications', function () { } }) - it('Should send a notification after editor edition', async function () { + it('Should send a notification after studio edition', async function () { this.timeout(240000) const { name, shortUUID, id } = await uploadRandomVideoOnServers(servers, 2, { waitTranscoding: true }) @@ -343,7 +343,7 @@ describe('Test user notifications', function () { await waitJobs(servers) await checkVideoIsPublished({ ...baseParams, videoName: name, shortUUID, checkType: 'presence' }) - const tasks: VideoEditorTask[] = [ + const tasks: VideoStudioTask[] = [ { name: 'cut', options: { @@ -352,10 +352,10 @@ describe('Test user notifications', function () { } } ] - await servers[1].videoEditor.createEditionTasks({ videoId: id, tasks }) + await servers[1].videoStudio.createEditionTasks({ videoId: id, tasks }) await waitJobs(servers) - await checkVideoEditionIsFinished({ ...baseParams, videoName: name, shortUUID, checkType: 'presence' }) + await checkVideoStudioEditionIsFinished({ ...baseParams, videoName: name, shortUUID, checkType: 'presence' }) }) }) -- cgit v1.2.3