diff options
Diffstat (limited to 'server/tests/api/check-params')
-rw-r--r-- | server/tests/api/check-params/users.ts | 24 | ||||
-rw-r--r-- | server/tests/api/check-params/video-comments.ts | 11 |
2 files changed, 30 insertions, 5 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, |