diff options
Diffstat (limited to 'server/tests/api/check-params/videos.js')
-rw-r--r-- | server/tests/api/check-params/videos.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/tests/api/check-params/videos.js b/server/tests/api/check-params/videos.js index ec4cc4ce8..ce6c49583 100644 --- a/server/tests/api/check-params/videos.js +++ b/server/tests/api/check-params/videos.js | |||
@@ -378,7 +378,7 @@ describe('Test videos API validator', function () { | |||
378 | }) | 378 | }) |
379 | 379 | ||
380 | it('Should succeed with the correct parameters', function (done) { | 380 | it('Should succeed with the correct parameters', function (done) { |
381 | this.timeout(5000) | 381 | this.timeout(10000) |
382 | 382 | ||
383 | const data = { | 383 | const data = { |
384 | name: 'my super name', | 384 | name: 'my super name', |
@@ -392,6 +392,7 @@ describe('Test videos API validator', function () { | |||
392 | const attach = { | 392 | const attach = { |
393 | 'videofile': pathUtils.join(__dirname, '..', 'fixtures', 'video_short.webm') | 393 | 'videofile': pathUtils.join(__dirname, '..', 'fixtures', 'video_short.webm') |
394 | } | 394 | } |
395 | |||
395 | requestsUtils.makePostUploadRequest(server.url, path, server.accessToken, data, attach, function () { | 396 | requestsUtils.makePostUploadRequest(server.url, path, server.accessToken, data, attach, function () { |
396 | attach.videofile = pathUtils.join(__dirname, '..', 'fixtures', 'video_short.mp4') | 397 | attach.videofile = pathUtils.join(__dirname, '..', 'fixtures', 'video_short.mp4') |
397 | requestsUtils.makePostUploadRequest(server.url, path, server.accessToken, data, attach, function () { | 398 | requestsUtils.makePostUploadRequest(server.url, path, server.accessToken, data, attach, function () { |