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/shared | |
parent | 1808a1f8e4b7b102823492a2007a46929aebf189 (diff) | |
download | PeerTube-92e66e04f7f51d37b465cff442ce47f6d6d7cadd.tar.gz PeerTube-92e66e04f7f51d37b465cff442ce47f6d6d7cadd.tar.zst PeerTube-92e66e04f7f51d37b465cff442ce47f6d6d7cadd.zip |
Rename studio to editor
Diffstat (limited to 'server/tests/shared')
-rw-r--r-- | server/tests/shared/notifications.ts | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/server/tests/shared/notifications.ts b/server/tests/shared/notifications.ts index f1ddbbbf7..2a69a09de 100644 --- a/server/tests/shared/notifications.ts +++ b/server/tests/shared/notifications.ts | |||
@@ -47,7 +47,7 @@ function getAllNotificationsSettings (): UserNotificationSetting { | |||
47 | abuseStateChange: UserNotificationSettingValue.WEB | UserNotificationSettingValue.EMAIL, | 47 | abuseStateChange: UserNotificationSettingValue.WEB | UserNotificationSettingValue.EMAIL, |
48 | autoInstanceFollowing: UserNotificationSettingValue.WEB | UserNotificationSettingValue.EMAIL, | 48 | autoInstanceFollowing: UserNotificationSettingValue.WEB | UserNotificationSettingValue.EMAIL, |
49 | newPeerTubeVersion: UserNotificationSettingValue.WEB | UserNotificationSettingValue.EMAIL, | 49 | newPeerTubeVersion: UserNotificationSettingValue.WEB | UserNotificationSettingValue.EMAIL, |
50 | myVideoEditionFinished: UserNotificationSettingValue.WEB | UserNotificationSettingValue.EMAIL, | 50 | myVideoStudioEditionFinished: UserNotificationSettingValue.WEB | UserNotificationSettingValue.EMAIL, |
51 | newPluginVersion: UserNotificationSettingValue.WEB | UserNotificationSettingValue.EMAIL | 51 | newPluginVersion: UserNotificationSettingValue.WEB | UserNotificationSettingValue.EMAIL |
52 | } | 52 | } |
53 | } | 53 | } |
@@ -110,13 +110,13 @@ async function checkVideoIsPublished (options: CheckerBaseParams & { | |||
110 | await checkNotification({ ...options, notificationChecker, emailNotificationFinder }) | 110 | await checkNotification({ ...options, notificationChecker, emailNotificationFinder }) |
111 | } | 111 | } |
112 | 112 | ||
113 | async function checkVideoEditionIsFinished (options: CheckerBaseParams & { | 113 | async function checkVideoStudioEditionIsFinished (options: CheckerBaseParams & { |
114 | videoName: string | 114 | videoName: string |
115 | shortUUID: string | 115 | shortUUID: string |
116 | checkType: CheckerType | 116 | checkType: CheckerType |
117 | }) { | 117 | }) { |
118 | const { videoName, shortUUID } = options | 118 | const { videoName, shortUUID } = options |
119 | const notificationType = UserNotificationType.MY_VIDEO_EDITION_FINISHED | 119 | const notificationType = UserNotificationType.MY_VIDEO_STUDIO_EDITION_FINISHED |
120 | 120 | ||
121 | function notificationChecker (notification: UserNotification, checkType: CheckerType) { | 121 | function notificationChecker (notification: UserNotification, checkType: CheckerType) { |
122 | if (checkType === 'presence') { | 122 | if (checkType === 'presence') { |
@@ -685,7 +685,7 @@ async function prepareNotificationsTest (serversCount = 3, overrideConfigArg: an | |||
685 | await setDefaultChannelAvatar(servers) | 685 | await setDefaultChannelAvatar(servers) |
686 | await setDefaultAccountAvatar(servers) | 686 | await setDefaultAccountAvatar(servers) |
687 | 687 | ||
688 | await servers[1].config.enableEditor() | 688 | await servers[1].config.enableStudio() |
689 | 689 | ||
690 | if (serversCount > 1) { | 690 | if (serversCount > 1) { |
691 | await doubleFollow(servers[0], servers[1]) | 691 | await doubleFollow(servers[0], servers[1]) |
@@ -756,7 +756,7 @@ export { | |||
756 | checkNewAccountAbuseForModerators, | 756 | checkNewAccountAbuseForModerators, |
757 | checkNewPeerTubeVersion, | 757 | checkNewPeerTubeVersion, |
758 | checkNewPluginVersion, | 758 | checkNewPluginVersion, |
759 | checkVideoEditionIsFinished | 759 | checkVideoStudioEditionIsFinished |
760 | } | 760 | } |
761 | 761 | ||
762 | // --------------------------------------------------------------------------- | 762 | // --------------------------------------------------------------------------- |