From 0628157fe9662fdb2b6fa658b8b53fe684c013ce Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 29 Dec 2021 14:44:58 +0100 Subject: Move uuid stuff in extra utils Since it requires an external dependency --- server/tests/api/notifications/moderation-notifications.ts | 3 ++- server/tests/api/notifications/user-notifications.ts | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'server/tests/api/notifications') 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 { MockSmtpServer, prepareNotificationsTest } from '@server/tests/shared' -import { buildUUID, wait } from '@shared/core-utils' +import { wait } from '@shared/core-utils' +import { buildUUID } from '@shared/extra-utils' import { AbuseState, CustomConfig, UserNotification, UserRole, VideoPrivacy } from '@shared/models' import { cleanupTests, PeerTubeServer, waitJobs } from '@shared/server-commands' 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 { prepareNotificationsTest, uploadRandomVideoOnServers } from '@server/tests/shared' -import { buildUUID, wait } from '@shared/core-utils' +import { wait } from '@shared/core-utils' +import { buildUUID } from '@shared/extra-utils' import { UserNotification, UserNotificationType, VideoPrivacy } from '@shared/models' import { cleanupTests, PeerTubeServer, waitJobs } from '@shared/server-commands' -- cgit v1.2.3