diff options
Diffstat (limited to 'server/tests/api')
-rw-r--r-- | server/tests/api/check-params/index.js | 2 | ||||
-rw-r--r-- | server/tests/api/check-params/request-schedulers.js (renamed from server/tests/api/check-params/requests.js) | 4 | ||||
-rw-r--r-- | server/tests/api/index.js | 2 | ||||
-rw-r--r-- | server/tests/api/request-schedulers.js (renamed from server/tests/api/requests.js) | 4 |
4 files changed, 6 insertions, 6 deletions
diff --git a/server/tests/api/check-params/index.js b/server/tests/api/check-params/index.js index 527ab65a9..1ba16ff32 100644 --- a/server/tests/api/check-params/index.js +++ b/server/tests/api/check-params/index.js | |||
@@ -4,7 +4,7 @@ | |||
4 | require('./pods') | 4 | require('./pods') |
5 | require('./remotes') | 5 | require('./remotes') |
6 | require('./users') | 6 | require('./users') |
7 | require('./requests') | 7 | require('./request-schedulers') |
8 | require('./videos') | 8 | require('./videos') |
9 | require('./video-abuses') | 9 | require('./video-abuses') |
10 | require('./video-blacklists') | 10 | require('./video-blacklists') |
diff --git a/server/tests/api/check-params/requests.js b/server/tests/api/check-params/request-schedulers.js index 0ce5582d6..9ba0df730 100644 --- a/server/tests/api/check-params/requests.js +++ b/server/tests/api/check-params/request-schedulers.js | |||
@@ -9,8 +9,8 @@ const loginUtils = require('../../utils/login') | |||
9 | const usersUtils = require('../../utils/users') | 9 | const usersUtils = require('../../utils/users') |
10 | const serversUtils = require('../../utils/servers') | 10 | const serversUtils = require('../../utils/servers') |
11 | 11 | ||
12 | describe('Test requests API validators', function () { | 12 | describe('Test request schedulers stats API validators', function () { |
13 | const path = '/api/v1/requests/stats' | 13 | const path = '/api/v1/request-schedulers/stats' |
14 | let server = null | 14 | let server = null |
15 | let userAccessToken = null | 15 | let userAccessToken = null |
16 | 16 | ||
diff --git a/server/tests/api/index.js b/server/tests/api/index.js index cc86a3d3b..7404d7d88 100644 --- a/server/tests/api/index.js +++ b/server/tests/api/index.js | |||
@@ -9,6 +9,6 @@ require('./single-pod') | |||
9 | require('./video-abuse') | 9 | require('./video-abuse') |
10 | require('./video-blacklist') | 10 | require('./video-blacklist') |
11 | require('./multiple-pods') | 11 | require('./multiple-pods') |
12 | require('./requests') | 12 | require('./request-schedulers') |
13 | require('./friends-advanced') | 13 | require('./friends-advanced') |
14 | require('./video-transcoder') | 14 | require('./video-transcoder') |
diff --git a/server/tests/api/requests.js b/server/tests/api/request-schedulers.js index 8762163af..c5c443f14 100644 --- a/server/tests/api/requests.js +++ b/server/tests/api/request-schedulers.js | |||
@@ -12,9 +12,9 @@ const podsUtils = require('../utils/pods') | |||
12 | const serversUtils = require('../utils/servers') | 12 | const serversUtils = require('../utils/servers') |
13 | const videosUtils = require('../utils/videos') | 13 | const videosUtils = require('../utils/videos') |
14 | 14 | ||
15 | describe('Test requests stats', function () { | 15 | describe('Test requests schedulers stats', function () { |
16 | const requestSchedulerNames = [ 'requestScheduler', 'requestVideoQaduScheduler', 'requestVideoEventScheduler' ] | 16 | const requestSchedulerNames = [ 'requestScheduler', 'requestVideoQaduScheduler', 'requestVideoEventScheduler' ] |
17 | const path = '/api/v1/requests/stats' | 17 | const path = '/api/v1/request-schedulers/stats' |
18 | let servers = [] | 18 | let servers = [] |
19 | 19 | ||
20 | function uploadVideo (server, callback) { | 20 | function uploadVideo (server, callback) { |