diff options
author | Chocobozzz <me@florianbigard.com> | 2022-03-22 16:58:49 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-03-22 17:24:32 +0100 |
commit | 92e66e04f7f51d37b465cff442ce47f6d6d7cadd (patch) | |
tree | 4475c5c601c0f6673ca56afba5b7f70a4fae4ec3 /server/tests/api/notifications/user-notifications.ts | |
parent | 1808a1f8e4b7b102823492a2007a46929aebf189 (diff) | |
download | PeerTube-92e66e04f7f51d37b465cff442ce47f6d6d7cadd.tar.gz PeerTube-92e66e04f7f51d37b465cff442ce47f6d6d7cadd.tar.zst PeerTube-92e66e04f7f51d37b465cff442ce47f6d6d7cadd.zip |
Rename studio to editor
Diffstat (limited to 'server/tests/api/notifications/user-notifications.ts')
-rw-r--r-- | server/tests/api/notifications/user-notifications.ts | 14 |
1 files changed, 7 insertions, 7 deletions
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 { | |||
7 | checkMyVideoImportIsFinished, | 7 | checkMyVideoImportIsFinished, |
8 | checkNewActorFollow, | 8 | checkNewActorFollow, |
9 | checkNewVideoFromSubscription, | 9 | checkNewVideoFromSubscription, |
10 | checkVideoEditionIsFinished, | 10 | checkVideoStudioEditionIsFinished, |
11 | checkVideoIsPublished, | 11 | checkVideoIsPublished, |
12 | FIXTURE_URLS, | 12 | FIXTURE_URLS, |
13 | MockSmtpServer, | 13 | MockSmtpServer, |
@@ -16,7 +16,7 @@ import { | |||
16 | } from '@server/tests/shared' | 16 | } from '@server/tests/shared' |
17 | import { wait } from '@shared/core-utils' | 17 | import { wait } from '@shared/core-utils' |
18 | import { buildUUID } from '@shared/extra-utils' | 18 | import { buildUUID } from '@shared/extra-utils' |
19 | import { UserNotification, UserNotificationType, VideoEditorTask, VideoPrivacy } from '@shared/models' | 19 | import { UserNotification, UserNotificationType, VideoStudioTask, VideoPrivacy } from '@shared/models' |
20 | import { cleanupTests, PeerTubeServer, waitJobs } from '@shared/server-commands' | 20 | import { cleanupTests, PeerTubeServer, waitJobs } from '@shared/server-commands' |
21 | 21 | ||
22 | const expect = chai.expect | 22 | const expect = chai.expect |
@@ -323,7 +323,7 @@ describe('Test user notifications', function () { | |||
323 | }) | 323 | }) |
324 | }) | 324 | }) |
325 | 325 | ||
326 | describe('Video editor', function () { | 326 | describe('Video studio', function () { |
327 | let baseParams: CheckerBaseParams | 327 | let baseParams: CheckerBaseParams |
328 | 328 | ||
329 | before(() => { | 329 | before(() => { |
@@ -335,7 +335,7 @@ describe('Test user notifications', function () { | |||
335 | } | 335 | } |
336 | }) | 336 | }) |
337 | 337 | ||
338 | it('Should send a notification after editor edition', async function () { | 338 | it('Should send a notification after studio edition', async function () { |
339 | this.timeout(240000) | 339 | this.timeout(240000) |
340 | 340 | ||
341 | const { name, shortUUID, id } = await uploadRandomVideoOnServers(servers, 2, { waitTranscoding: true }) | 341 | const { name, shortUUID, id } = await uploadRandomVideoOnServers(servers, 2, { waitTranscoding: true }) |
@@ -343,7 +343,7 @@ describe('Test user notifications', function () { | |||
343 | await waitJobs(servers) | 343 | await waitJobs(servers) |
344 | await checkVideoIsPublished({ ...baseParams, videoName: name, shortUUID, checkType: 'presence' }) | 344 | await checkVideoIsPublished({ ...baseParams, videoName: name, shortUUID, checkType: 'presence' }) |
345 | 345 | ||
346 | const tasks: VideoEditorTask[] = [ | 346 | const tasks: VideoStudioTask[] = [ |
347 | { | 347 | { |
348 | name: 'cut', | 348 | name: 'cut', |
349 | options: { | 349 | options: { |
@@ -352,10 +352,10 @@ describe('Test user notifications', function () { | |||
352 | } | 352 | } |
353 | } | 353 | } |
354 | ] | 354 | ] |
355 | await servers[1].videoEditor.createEditionTasks({ videoId: id, tasks }) | 355 | await servers[1].videoStudio.createEditionTasks({ videoId: id, tasks }) |
356 | await waitJobs(servers) | 356 | await waitJobs(servers) |
357 | 357 | ||
358 | await checkVideoEditionIsFinished({ ...baseParams, videoName: name, shortUUID, checkType: 'presence' }) | 358 | await checkVideoStudioEditionIsFinished({ ...baseParams, videoName: name, shortUUID, checkType: 'presence' }) |
359 | }) | 359 | }) |
360 | }) | 360 | }) |
361 | 361 | ||