aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/notifications
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-12-29 14:44:58 +0100
committerChocobozzz <me@florianbigard.com>2021-12-29 14:44:58 +0100
commit0628157fe9662fdb2b6fa658b8b53fe684c013ce (patch)
tree52bf9dc16d9e30cb716a6df76ce12fd7d34cff7f /server/tests/api/notifications
parentfb3c9e2bf5b45d6d283cea4d55cc0d49eb58e3cb (diff)
downloadPeerTube-0628157fe9662fdb2b6fa658b8b53fe684c013ce.tar.gz
PeerTube-0628157fe9662fdb2b6fa658b8b53fe684c013ce.tar.zst
PeerTube-0628157fe9662fdb2b6fa658b8b53fe684c013ce.zip
Move uuid stuff in extra utils
Since it requires an external dependency
Diffstat (limited to 'server/tests/api/notifications')
-rw-r--r--server/tests/api/notifications/moderation-notifications.ts3
-rw-r--r--server/tests/api/notifications/user-notifications.ts3
2 files changed, 4 insertions, 2 deletions
diff --git a/server/tests/api/notifications/moderation-notifications.ts b/server/tests/api/notifications/moderation-notifications.ts
index e6e1d5f7b..9e330bd61 100644
--- a/server/tests/api/notifications/moderation-notifications.ts
+++ b/server/tests/api/notifications/moderation-notifications.ts
@@ -19,7 +19,8 @@ import {
19 MockSmtpServer, 19 MockSmtpServer,
20 prepareNotificationsTest 20 prepareNotificationsTest
21} from '@server/tests/shared' 21} from '@server/tests/shared'
22import { buildUUID, wait } from '@shared/core-utils' 22import { wait } from '@shared/core-utils'
23import { buildUUID } from '@shared/extra-utils'
23import { AbuseState, CustomConfig, UserNotification, UserRole, VideoPrivacy } from '@shared/models' 24import { AbuseState, CustomConfig, UserNotification, UserRole, VideoPrivacy } from '@shared/models'
24import { cleanupTests, PeerTubeServer, waitJobs } from '@shared/server-commands' 25import { cleanupTests, PeerTubeServer, waitJobs } from '@shared/server-commands'
25 26
diff --git a/server/tests/api/notifications/user-notifications.ts b/server/tests/api/notifications/user-notifications.ts
index 0bd474c09..f9f3e0e0e 100644
--- a/server/tests/api/notifications/user-notifications.ts
+++ b/server/tests/api/notifications/user-notifications.ts
@@ -13,7 +13,8 @@ import {
13 prepareNotificationsTest, 13 prepareNotificationsTest,
14 uploadRandomVideoOnServers 14 uploadRandomVideoOnServers
15} from '@server/tests/shared' 15} from '@server/tests/shared'
16import { buildUUID, wait } from '@shared/core-utils' 16import { wait } from '@shared/core-utils'
17import { buildUUID } from '@shared/extra-utils'
17import { UserNotification, UserNotificationType, VideoPrivacy } from '@shared/models' 18import { UserNotification, UserNotificationType, VideoPrivacy } from '@shared/models'
18import { cleanupTests, PeerTubeServer, waitJobs } from '@shared/server-commands' 19import { cleanupTests, PeerTubeServer, waitJobs } from '@shared/server-commands'
19 20