diff options
author | Chocobozzz <me@florianbigard.com> | 2018-08-14 14:59:53 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-08-14 15:00:01 +0200 |
commit | 59c76ffa8f503e962d517c78f033f1beccb1de1a (patch) | |
tree | d567991b10cffd59322dd679d5188e7d1ec7ddce /server/tests | |
parent | 13b6dc1f3437560c55a5dfc3a94a2b162654e5c9 (diff) | |
download | PeerTube-59c76ffa8f503e962d517c78f033f1beccb1de1a.tar.gz PeerTube-59c76ffa8f503e962d517c78f033f1beccb1de1a.tar.zst PeerTube-59c76ffa8f503e962d517c78f033f1beccb1de1a.zip |
Flat shared module directory
Diffstat (limited to 'server/tests')
-rw-r--r-- | server/tests/api/server/follows.ts | 2 | ||||
-rw-r--r-- | server/tests/api/videos/video-captions.ts | 2 | ||||
-rw-r--r-- | server/tests/utils/videos/video-abuses.ts | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/server/tests/api/server/follows.ts b/server/tests/api/server/follows.ts index b91cb75c2..1cad8998c 100644 --- a/server/tests/api/server/follows.ts +++ b/server/tests/api/server/follows.ts | |||
@@ -27,7 +27,7 @@ import { | |||
27 | import { rateVideo } from '../../utils/videos/videos' | 27 | import { rateVideo } from '../../utils/videos/videos' |
28 | import { waitJobs } from '../../utils/server/jobs' | 28 | import { waitJobs } from '../../utils/server/jobs' |
29 | import { createVideoCaption, listVideoCaptions, testCaptionFile } from '../../utils/videos/video-captions' | 29 | import { createVideoCaption, listVideoCaptions, testCaptionFile } from '../../utils/videos/video-captions' |
30 | import { VideoCaption } from '../../../../shared/models/videos/video-caption.model' | 30 | import { VideoCaption } from '../../../../shared/models/videos/caption/video-caption.model' |
31 | 31 | ||
32 | const expect = chai.expect | 32 | const expect = chai.expect |
33 | 33 | ||
diff --git a/server/tests/api/videos/video-captions.ts b/server/tests/api/videos/video-captions.ts index ba9ebbdd6..6e441410d 100644 --- a/server/tests/api/videos/video-captions.ts +++ b/server/tests/api/videos/video-captions.ts | |||
@@ -6,7 +6,7 @@ import { checkVideoFilesWereRemoved, doubleFollow, flushAndRunMultipleServers, r | |||
6 | import { flushTests, killallServers, ServerInfo, setAccessTokensToServers } from '../../utils/index' | 6 | import { flushTests, killallServers, ServerInfo, setAccessTokensToServers } from '../../utils/index' |
7 | import { waitJobs } from '../../utils/server/jobs' | 7 | import { waitJobs } from '../../utils/server/jobs' |
8 | import { createVideoCaption, deleteVideoCaption, listVideoCaptions, testCaptionFile } from '../../utils/videos/video-captions' | 8 | import { createVideoCaption, deleteVideoCaption, listVideoCaptions, testCaptionFile } from '../../utils/videos/video-captions' |
9 | import { VideoCaption } from '../../../../shared/models/videos/video-caption.model' | 9 | import { VideoCaption } from '../../../../shared/models/videos/caption/video-caption.model' |
10 | 10 | ||
11 | const expect = chai.expect | 11 | const expect = chai.expect |
12 | 12 | ||
diff --git a/server/tests/utils/videos/video-abuses.ts b/server/tests/utils/videos/video-abuses.ts index 5f138d6b3..14907e6a0 100644 --- a/server/tests/utils/videos/video-abuses.ts +++ b/server/tests/utils/videos/video-abuses.ts | |||
@@ -1,5 +1,5 @@ | |||
1 | import * as request from 'supertest' | 1 | import * as request from 'supertest' |
2 | import { VideoAbuseUpdate } from '../../../../shared/models/videos/video-abuse-update.model' | 2 | import { VideoAbuseUpdate } from '../../../../shared/models/videos/abuse/video-abuse-update.model' |
3 | import { makeDeleteRequest, makePutBodyRequest } from '..' | 3 | import { makeDeleteRequest, makePutBodyRequest } from '..' |
4 | 4 | ||
5 | function reportVideoAbuse (url: string, token: string, videoId: number | string, reason: string, specialStatus = 200) { | 5 | function reportVideoAbuse (url: string, token: string, videoId: number | string, reason: string, specialStatus = 200) { |