aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/notifications/user-notifications.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api/notifications/user-notifications.ts')
-rw-r--r--server/tests/api/notifications/user-notifications.ts22
1 files changed, 11 insertions, 11 deletions
diff --git a/server/tests/api/notifications/user-notifications.ts b/server/tests/api/notifications/user-notifications.ts
index d1d6f3c35..8f7ce82a4 100644
--- a/server/tests/api/notifications/user-notifications.ts
+++ b/server/tests/api/notifications/user-notifications.ts
@@ -20,11 +20,11 @@ import {
20 wait, 20 wait,
21 getCustomConfig, 21 getCustomConfig,
22 updateCustomConfig, getVideoThreadComments, getVideoCommentThreads, follow 22 updateCustomConfig, getVideoThreadComments, getVideoCommentThreads, follow
23} from '../../../../shared/utils' 23} from '../../../../shared/extra-utils'
24import { killallServers, ServerInfo, uploadVideo } from '../../../../shared/utils/index' 24import { killallServers, ServerInfo, uploadVideo } from '../../../../shared/extra-utils/index'
25import { setAccessTokensToServers } from '../../../../shared/utils/users/login' 25import { setAccessTokensToServers } from '../../../../shared/extra-utils/users/login'
26import { waitJobs } from '../../../../shared/utils/server/jobs' 26import { waitJobs } from '../../../../shared/extra-utils/server/jobs'
27import { getUserNotificationSocket } from '../../../../shared/utils/socket/socket-io' 27import { getUserNotificationSocket } from '../../../../shared/extra-utils/socket/socket-io'
28import { 28import {
29 checkCommentMention, 29 checkCommentMention,
30 CheckerBaseParams, 30 CheckerBaseParams,
@@ -42,7 +42,7 @@ import {
42 markAsReadNotifications, 42 markAsReadNotifications,
43 updateMyNotificationSettings, 43 updateMyNotificationSettings,
44 markAsReadAllNotifications, checkNewInstanceFollower 44 markAsReadAllNotifications, checkNewInstanceFollower
45} from '../../../../shared/utils/users/user-notifications' 45} from '../../../../shared/extra-utils/users/user-notifications'
46import { 46import {
47 User, 47 User,
48 UserNotification, 48 UserNotification,
@@ -50,13 +50,13 @@ import {
50 UserNotificationSettingValue, 50 UserNotificationSettingValue,
51 UserNotificationType 51 UserNotificationType
52} from '../../../../shared/models/users' 52} from '../../../../shared/models/users'
53import { MockSmtpServer } from '../../../../shared/utils/miscs/email' 53import { MockSmtpServer } from '../../../../shared/extra-utils/miscs/email'
54import { addUserSubscription, removeUserSubscription } from '../../../../shared/utils/users/user-subscriptions' 54import { addUserSubscription, removeUserSubscription } from '../../../../shared/extra-utils/users/user-subscriptions'
55import { VideoPrivacy } from '../../../../shared/models/videos' 55import { VideoPrivacy } from '../../../../shared/models/videos'
56import { getBadVideoUrl, getYoutubeVideoUrl, importVideo } from '../../../../shared/utils/videos/video-imports' 56import { getBadVideoUrl, getYoutubeVideoUrl, importVideo } from '../../../../shared/extra-utils/videos/video-imports'
57import { addVideoCommentReply, addVideoCommentThread } from '../../../../shared/utils/videos/video-comments' 57import { addVideoCommentReply, addVideoCommentThread } from '../../../../shared/extra-utils/videos/video-comments'
58import * as uuidv4 from 'uuid/v4' 58import * as uuidv4 from 'uuid/v4'
59import { addAccountToAccountBlocklist, removeAccountFromAccountBlocklist } from '../../../../shared/utils/users/blocklist' 59import { addAccountToAccountBlocklist, removeAccountFromAccountBlocklist } from '../../../../shared/extra-utils/users/blocklist'
60import { CustomConfig } from '../../../../shared/models/server' 60import { CustomConfig } from '../../../../shared/models/server'
61import { VideoCommentThreadTree } from '../../../../shared/models/videos/video-comment.model' 61import { VideoCommentThreadTree } from '../../../../shared/models/videos/video-comment.model'
62 62