diff options
Diffstat (limited to 'server/tests/api/server/handle-down.ts')
-rw-r--r-- | server/tests/api/server/handle-down.ts | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/server/tests/api/server/handle-down.ts b/server/tests/api/server/handle-down.ts index 0421b2b40..8e162b69e 100644 --- a/server/tests/api/server/handle-down.ts +++ b/server/tests/api/server/handle-down.ts | |||
@@ -5,24 +5,31 @@ import 'mocha' | |||
5 | import { JobState, Video } from '../../../../shared/models' | 5 | import { JobState, Video } from '../../../../shared/models' |
6 | import { VideoPrivacy } from '../../../../shared/models/videos' | 6 | import { VideoPrivacy } from '../../../../shared/models/videos' |
7 | import { VideoCommentThreadTree } from '../../../../shared/models/videos/video-comment.model' | 7 | import { VideoCommentThreadTree } from '../../../../shared/models/videos/video-comment.model' |
8 | import { completeVideoCheck, getVideo, immutableAssign, reRunServer, unfollow, updateVideo, viewVideo } from '../../utils' | 8 | |
9 | import { | 9 | import { |
10 | completeVideoCheck, | ||
11 | getVideo, | ||
12 | immutableAssign, | ||
13 | reRunServer, | ||
14 | unfollow, | ||
15 | viewVideo, | ||
10 | flushAndRunMultipleServers, | 16 | flushAndRunMultipleServers, |
11 | getVideosList, | 17 | getVideosList, |
12 | killallServers, | 18 | killallServers, |
13 | ServerInfo, | 19 | ServerInfo, |
14 | setAccessTokensToServers, | 20 | setAccessTokensToServers, |
15 | uploadVideo, | 21 | uploadVideo, |
22 | updateVideo, | ||
16 | wait | 23 | wait |
17 | } from '../../utils/index' | 24 | } from '../../../../shared/utils' |
18 | import { follow, getFollowersListPaginationAndSort } from '../../utils/server/follows' | 25 | import { follow, getFollowersListPaginationAndSort } from '../../../../shared/utils/server/follows' |
19 | import { getJobsListPaginationAndSort, waitJobs } from '../../utils/server/jobs' | 26 | import { getJobsListPaginationAndSort, waitJobs } from '../../../../shared/utils/server/jobs' |
20 | import { | 27 | import { |
21 | addVideoCommentReply, | 28 | addVideoCommentReply, |
22 | addVideoCommentThread, | 29 | addVideoCommentThread, |
23 | getVideoCommentThreads, | 30 | getVideoCommentThreads, |
24 | getVideoThreadComments | 31 | getVideoThreadComments |
25 | } from '../../utils/videos/video-comments' | 32 | } from '../../../../shared/utils/videos/video-comments' |
26 | 33 | ||
27 | const expect = chai.expect | 34 | const expect = chai.expect |
28 | 35 | ||