diff options
author | Chocobozzz <me@florianbigard.com> | 2019-04-15 15:26:15 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-04-24 16:25:52 +0200 |
commit | 94565d52bb2883e09f16d1363170ac9c0dccb7a1 (patch) | |
tree | 3dcd20cd7b5a5cca80bce32b655cdbfaddf7aa59 /server/tests/api/notifications/user-notifications.ts | |
parent | 4ee7a4c9ac9280cda930a281c2d5a9a4c409cc14 (diff) | |
download | PeerTube-94565d52bb2883e09f16d1363170ac9c0dccb7a1.tar.gz PeerTube-94565d52bb2883e09f16d1363170ac9c0dccb7a1.tar.zst PeerTube-94565d52bb2883e09f16d1363170ac9c0dccb7a1.zip |
Shared utils -> extra-utils
Because they need dev dependencies
Diffstat (limited to 'server/tests/api/notifications/user-notifications.ts')
-rw-r--r-- | server/tests/api/notifications/user-notifications.ts | 22 |
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' |
24 | import { killallServers, ServerInfo, uploadVideo } from '../../../../shared/utils/index' | 24 | import { killallServers, ServerInfo, uploadVideo } from '../../../../shared/extra-utils/index' |
25 | import { setAccessTokensToServers } from '../../../../shared/utils/users/login' | 25 | import { setAccessTokensToServers } from '../../../../shared/extra-utils/users/login' |
26 | import { waitJobs } from '../../../../shared/utils/server/jobs' | 26 | import { waitJobs } from '../../../../shared/extra-utils/server/jobs' |
27 | import { getUserNotificationSocket } from '../../../../shared/utils/socket/socket-io' | 27 | import { getUserNotificationSocket } from '../../../../shared/extra-utils/socket/socket-io' |
28 | import { | 28 | import { |
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' |
46 | import { | 46 | import { |
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' |
53 | import { MockSmtpServer } from '../../../../shared/utils/miscs/email' | 53 | import { MockSmtpServer } from '../../../../shared/extra-utils/miscs/email' |
54 | import { addUserSubscription, removeUserSubscription } from '../../../../shared/utils/users/user-subscriptions' | 54 | import { addUserSubscription, removeUserSubscription } from '../../../../shared/extra-utils/users/user-subscriptions' |
55 | import { VideoPrivacy } from '../../../../shared/models/videos' | 55 | import { VideoPrivacy } from '../../../../shared/models/videos' |
56 | import { getBadVideoUrl, getYoutubeVideoUrl, importVideo } from '../../../../shared/utils/videos/video-imports' | 56 | import { getBadVideoUrl, getYoutubeVideoUrl, importVideo } from '../../../../shared/extra-utils/videos/video-imports' |
57 | import { addVideoCommentReply, addVideoCommentThread } from '../../../../shared/utils/videos/video-comments' | 57 | import { addVideoCommentReply, addVideoCommentThread } from '../../../../shared/extra-utils/videos/video-comments' |
58 | import * as uuidv4 from 'uuid/v4' | 58 | import * as uuidv4 from 'uuid/v4' |
59 | import { addAccountToAccountBlocklist, removeAccountFromAccountBlocklist } from '../../../../shared/utils/users/blocklist' | 59 | import { addAccountToAccountBlocklist, removeAccountFromAccountBlocklist } from '../../../../shared/extra-utils/users/blocklist' |
60 | import { CustomConfig } from '../../../../shared/models/server' | 60 | import { CustomConfig } from '../../../../shared/models/server' |
61 | import { VideoCommentThreadTree } from '../../../../shared/models/videos/video-comment.model' | 61 | import { VideoCommentThreadTree } from '../../../../shared/models/videos/video-comment.model' |
62 | 62 | ||