diff options
author | Chocobozzz <me@florianbigard.com> | 2019-04-24 12:02:04 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2019-04-24 16:26:24 +0200 |
commit | 42e1ec25ece5ef6b7a29d64610e3729578059e52 (patch) | |
tree | db9cf34513d92700599142d3ada366b18e7b0438 /server/tests | |
parent | 86ebdf8c46f0663610196b7b012ca1d9c43e1bb2 (diff) | |
download | PeerTube-42e1ec25ece5ef6b7a29d64610e3729578059e52.tar.gz PeerTube-42e1ec25ece5ef6b7a29d64610e3729578059e52.tar.zst PeerTube-42e1ec25ece5ef6b7a29d64610e3729578059e52.zip |
Try to fix travis
Diffstat (limited to 'server/tests')
-rw-r--r-- | server/tests/api/check-params/users.ts | 24 | ||||
-rw-r--r-- | server/tests/api/check-params/video-comments.ts | 11 | ||||
-rw-r--r-- | server/tests/api/videos/videos-overview.ts | 2 |
3 files changed, 31 insertions, 6 deletions
diff --git a/server/tests/api/check-params/users.ts b/server/tests/api/check-params/users.ts index 00d0a7e2b..d2fea65f6 100644 --- a/server/tests/api/check-params/users.ts +++ b/server/tests/api/check-params/users.ts | |||
@@ -6,9 +6,27 @@ import { join } from 'path' | |||
6 | import { UserRole, VideoImport, VideoImportState } from '../../../../shared' | 6 | import { UserRole, VideoImport, VideoImportState } from '../../../../shared' |
7 | 7 | ||
8 | import { | 8 | import { |
9 | createUser, flushTests, getMyUserInformation, getMyUserVideoRating, getUsersList, immutableAssign, killallServers, makeGetRequest, | 9 | blockUser, |
10 | makePostBodyRequest, makeUploadRequest, makePutBodyRequest, registerUser, removeUser, flushAndRunServer, ServerInfo, setAccessTokensToServers, | 10 | createUser, |
11 | updateUser, uploadVideo, userLogin, deleteMe, unblockUser, blockUser | 11 | deleteMe, |
12 | flushAndRunServer, | ||
13 | getMyUserInformation, | ||
14 | getMyUserVideoRating, | ||
15 | getUsersList, | ||
16 | immutableAssign, | ||
17 | killallServers, | ||
18 | makeGetRequest, | ||
19 | makePostBodyRequest, | ||
20 | makePutBodyRequest, | ||
21 | makeUploadRequest, | ||
22 | registerUser, | ||
23 | removeUser, | ||
24 | ServerInfo, | ||
25 | setAccessTokensToServers, | ||
26 | unblockUser, | ||
27 | updateUser, | ||
28 | uploadVideo, | ||
29 | userLogin | ||
12 | } from '../../../../shared/extra-utils' | 30 | } from '../../../../shared/extra-utils' |
13 | import { | 31 | import { |
14 | checkBadCountPagination, | 32 | checkBadCountPagination, |
diff --git a/server/tests/api/check-params/video-comments.ts b/server/tests/api/check-params/video-comments.ts index bb14abbfd..dfa4c29b6 100644 --- a/server/tests/api/check-params/video-comments.ts +++ b/server/tests/api/check-params/video-comments.ts | |||
@@ -4,8 +4,15 @@ import * as chai from 'chai' | |||
4 | import 'mocha' | 4 | import 'mocha' |
5 | import { | 5 | import { |
6 | createUser, | 6 | createUser, |
7 | flushTests, killallServers, makeDeleteRequest, makeGetRequest, makePostBodyRequest, flushAndRunServer, ServerInfo, setAccessTokensToServers, | 7 | flushAndRunServer, |
8 | uploadVideo, userLogin | 8 | killallServers, |
9 | makeDeleteRequest, | ||
10 | makeGetRequest, | ||
11 | makePostBodyRequest, | ||
12 | ServerInfo, | ||
13 | setAccessTokensToServers, | ||
14 | uploadVideo, | ||
15 | userLogin | ||
9 | } from '../../../../shared/extra-utils' | 16 | } from '../../../../shared/extra-utils' |
10 | import { | 17 | import { |
11 | checkBadCountPagination, | 18 | checkBadCountPagination, |
diff --git a/server/tests/api/videos/videos-overview.ts b/server/tests/api/videos/videos-overview.ts index c921eb74d..c63725d71 100644 --- a/server/tests/api/videos/videos-overview.ts +++ b/server/tests/api/videos/videos-overview.ts | |||
@@ -2,7 +2,7 @@ | |||
2 | 2 | ||
3 | import * as chai from 'chai' | 3 | import * as chai from 'chai' |
4 | import 'mocha' | 4 | import 'mocha' |
5 | import { flushTests, killallServers, flushAndRunServer, ServerInfo, setAccessTokensToServers, uploadVideo } from '../../../../shared/extra-utils' | 5 | import { flushAndRunServer, killallServers, ServerInfo, setAccessTokensToServers, uploadVideo } from '../../../../shared/extra-utils' |
6 | import { getVideosOverview } from '../../../../shared/extra-utils/overviews/overviews' | 6 | import { getVideosOverview } from '../../../../shared/extra-utils/overviews/overviews' |
7 | import { VideosOverview } from '../../../../shared/models/overviews' | 7 | import { VideosOverview } from '../../../../shared/models/overviews' |
8 | 8 | ||