diff options
Diffstat (limited to 'server/tests/utils')
-rw-r--r-- | server/tests/utils/login.js | 4 | ||||
-rw-r--r-- | server/tests/utils/miscs.js | 2 | ||||
-rw-r--r-- | server/tests/utils/pods.js | 6 | ||||
-rw-r--r-- | server/tests/utils/requests.js | 6 | ||||
-rw-r--r-- | server/tests/utils/servers.js | 6 | ||||
-rw-r--r-- | server/tests/utils/users.js | 12 | ||||
-rw-r--r-- | server/tests/utils/videos.js | 22 |
7 files changed, 29 insertions, 29 deletions
diff --git a/server/tests/utils/login.js b/server/tests/utils/login.js index 1a5d75bc4..465564e14 100644 --- a/server/tests/utils/login.js +++ b/server/tests/utils/login.js | |||
@@ -3,8 +3,8 @@ | |||
3 | const request = require('supertest') | 3 | const request = require('supertest') |
4 | 4 | ||
5 | const loginUtils = { | 5 | const loginUtils = { |
6 | login: login, | 6 | login, |
7 | loginAndGetAccessToken: loginAndGetAccessToken | 7 | loginAndGetAccessToken |
8 | } | 8 | } |
9 | 9 | ||
10 | // ---------------------- Export functions -------------------- | 10 | // ---------------------- Export functions -------------------- |
diff --git a/server/tests/utils/miscs.js b/server/tests/utils/miscs.js index 5414cd561..4ceff65df 100644 --- a/server/tests/utils/miscs.js +++ b/server/tests/utils/miscs.js | |||
@@ -1,7 +1,7 @@ | |||
1 | 'use strict' | 1 | 'use strict' |
2 | 2 | ||
3 | const miscsUtils = { | 3 | const miscsUtils = { |
4 | dateIsValid: dateIsValid | 4 | dateIsValid |
5 | } | 5 | } |
6 | 6 | ||
7 | // ---------------------- Export functions -------------------- | 7 | // ---------------------- Export functions -------------------- |
diff --git a/server/tests/utils/pods.js b/server/tests/utils/pods.js index 9a9148856..a8551a49d 100644 --- a/server/tests/utils/pods.js +++ b/server/tests/utils/pods.js | |||
@@ -3,9 +3,9 @@ | |||
3 | const request = require('supertest') | 3 | const request = require('supertest') |
4 | 4 | ||
5 | const podsUtils = { | 5 | const podsUtils = { |
6 | getFriendsList: getFriendsList, | 6 | getFriendsList, |
7 | makeFriends: makeFriends, | 7 | makeFriends, |
8 | quitFriends: quitFriends | 8 | quitFriends |
9 | } | 9 | } |
10 | 10 | ||
11 | // ---------------------- Export functions -------------------- | 11 | // ---------------------- Export functions -------------------- |
diff --git a/server/tests/utils/requests.js b/server/tests/utils/requests.js index 410e42c77..b1470814d 100644 --- a/server/tests/utils/requests.js +++ b/server/tests/utils/requests.js | |||
@@ -3,9 +3,9 @@ | |||
3 | const request = require('supertest') | 3 | const request = require('supertest') |
4 | 4 | ||
5 | const requestsUtils = { | 5 | const requestsUtils = { |
6 | makePostUploadRequest: makePostUploadRequest, | 6 | makePostUploadRequest, |
7 | makePostBodyRequest: makePostBodyRequest, | 7 | makePostBodyRequest, |
8 | makePutBodyRequest: makePutBodyRequest | 8 | makePutBodyRequest |
9 | } | 9 | } |
10 | 10 | ||
11 | // ---------------------- Export functions -------------------- | 11 | // ---------------------- Export functions -------------------- |
diff --git a/server/tests/utils/servers.js b/server/tests/utils/servers.js index ee7cd8c0a..d62838bc7 100644 --- a/server/tests/utils/servers.js +++ b/server/tests/utils/servers.js | |||
@@ -6,9 +6,9 @@ const fork = childProcess.fork | |||
6 | const pathUtils = require('path') | 6 | const pathUtils = require('path') |
7 | 7 | ||
8 | const serversUtils = { | 8 | const serversUtils = { |
9 | flushAndRunMultipleServers: flushAndRunMultipleServers, | 9 | flushAndRunMultipleServers, |
10 | flushTests: flushTests, | 10 | flushTests, |
11 | runServer: runServer | 11 | runServer |
12 | } | 12 | } |
13 | 13 | ||
14 | // ---------------------- Export functions -------------------- | 14 | // ---------------------- Export functions -------------------- |
diff --git a/server/tests/utils/users.js b/server/tests/utils/users.js index 0cf4e4adb..2bf9c6e3e 100644 --- a/server/tests/utils/users.js +++ b/server/tests/utils/users.js | |||
@@ -3,12 +3,12 @@ | |||
3 | const request = require('supertest') | 3 | const request = require('supertest') |
4 | 4 | ||
5 | const usersUtils = { | 5 | const usersUtils = { |
6 | createUser: createUser, | 6 | createUser, |
7 | getUserInformation: getUserInformation, | 7 | getUserInformation, |
8 | getUsersList: getUsersList, | 8 | getUsersList, |
9 | getUsersListPaginationAndSort: getUsersListPaginationAndSort, | 9 | getUsersListPaginationAndSort, |
10 | removeUser: removeUser, | 10 | removeUser, |
11 | updateUser: updateUser | 11 | updateUser |
12 | } | 12 | } |
13 | 13 | ||
14 | // ---------------------- Export functions -------------------- | 14 | // ---------------------- Export functions -------------------- |
diff --git a/server/tests/utils/videos.js b/server/tests/utils/videos.js index 90ee9621e..536093db1 100644 --- a/server/tests/utils/videos.js +++ b/server/tests/utils/videos.js | |||
@@ -5,17 +5,17 @@ const pathUtils = require('path') | |||
5 | const request = require('supertest') | 5 | const request = require('supertest') |
6 | 6 | ||
7 | const videosUtils = { | 7 | const videosUtils = { |
8 | getAllVideosListBy: getAllVideosListBy, | 8 | getAllVideosListBy, |
9 | getVideo: getVideo, | 9 | getVideo, |
10 | getVideosList: getVideosList, | 10 | getVideosList, |
11 | getVideosListPagination: getVideosListPagination, | 11 | getVideosListPagination, |
12 | getVideosListSort: getVideosListSort, | 12 | getVideosListSort, |
13 | removeVideo: removeVideo, | 13 | removeVideo, |
14 | searchVideo: searchVideo, | 14 | searchVideo, |
15 | searchVideoWithPagination: searchVideoWithPagination, | 15 | searchVideoWithPagination, |
16 | searchVideoWithSort: searchVideoWithSort, | 16 | searchVideoWithSort, |
17 | testVideoImage: testVideoImage, | 17 | testVideoImage, |
18 | uploadVideo: uploadVideo | 18 | uploadVideo |
19 | } | 19 | } |
20 | 20 | ||
21 | // ---------------------- Export functions -------------------- | 21 | // ---------------------- Export functions -------------------- |