aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/utils
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-10-02 12:19:02 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-10-02 12:19:02 +0200
commitc4403b29ad4db097af528a7f04eea07e0ed320d0 (patch)
treec7d84fe1c45b7aa35d49312a83f4e7cfdf6af909 /server/tests/utils
parent9f6bae3a9db13bf827f8aaff903aac06ec430903 (diff)
downloadPeerTube-c4403b29ad4db097af528a7f04eea07e0ed320d0.tar.gz
PeerTube-c4403b29ad4db097af528a7f04eea07e0ed320d0.tar.zst
PeerTube-c4403b29ad4db097af528a7f04eea07e0ed320d0.zip
Server: remove useless hash affectations
Diffstat (limited to 'server/tests/utils')
-rw-r--r--server/tests/utils/login.js4
-rw-r--r--server/tests/utils/miscs.js2
-rw-r--r--server/tests/utils/pods.js6
-rw-r--r--server/tests/utils/requests.js6
-rw-r--r--server/tests/utils/servers.js6
-rw-r--r--server/tests/utils/users.js12
-rw-r--r--server/tests/utils/videos.js22
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 @@
3const request = require('supertest') 3const request = require('supertest')
4 4
5const loginUtils = { 5const 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
3const miscsUtils = { 3const 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 @@
3const request = require('supertest') 3const request = require('supertest')
4 4
5const podsUtils = { 5const 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 @@
3const request = require('supertest') 3const request = require('supertest')
4 4
5const requestsUtils = { 5const 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
6const pathUtils = require('path') 6const pathUtils = require('path')
7 7
8const serversUtils = { 8const 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 @@
3const request = require('supertest') 3const request = require('supertest')
4 4
5const usersUtils = { 5const 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')
5const request = require('supertest') 5const request = require('supertest')
6 6
7const videosUtils = { 7const 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 --------------------