diff options
author | Chocobozzz <me@florianbigard.com> | 2021-12-29 14:44:58 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-12-29 14:44:58 +0100 |
commit | 0628157fe9662fdb2b6fa658b8b53fe684c013ce (patch) | |
tree | 52bf9dc16d9e30cb716a6df76ce12fd7d34cff7f /server/tests/api | |
parent | fb3c9e2bf5b45d6d283cea4d55cc0d49eb58e3cb (diff) | |
download | PeerTube-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')
-rw-r--r-- | server/tests/api/notifications/moderation-notifications.ts | 3 | ||||
-rw-r--r-- | server/tests/api/notifications/user-notifications.ts | 3 |
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' |
22 | import { buildUUID, wait } from '@shared/core-utils' | 22 | import { wait } from '@shared/core-utils' |
23 | import { buildUUID } from '@shared/extra-utils' | ||
23 | import { AbuseState, CustomConfig, UserNotification, UserRole, VideoPrivacy } from '@shared/models' | 24 | import { AbuseState, CustomConfig, UserNotification, UserRole, VideoPrivacy } from '@shared/models' |
24 | import { cleanupTests, PeerTubeServer, waitJobs } from '@shared/server-commands' | 25 | import { 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' |
16 | import { buildUUID, wait } from '@shared/core-utils' | 16 | import { wait } from '@shared/core-utils' |
17 | import { buildUUID } from '@shared/extra-utils' | ||
17 | import { UserNotification, UserNotificationType, VideoPrivacy } from '@shared/models' | 18 | import { UserNotification, UserNotificationType, VideoPrivacy } from '@shared/models' |
18 | import { cleanupTests, PeerTubeServer, waitJobs } from '@shared/server-commands' | 19 | import { cleanupTests, PeerTubeServer, waitJobs } from '@shared/server-commands' |
19 | 20 | ||