diff options
Diffstat (limited to 'server/tests/api/check-params/videos.js')
-rw-r--r-- | server/tests/api/check-params/videos.js | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/server/tests/api/check-params/videos.js b/server/tests/api/check-params/videos.js index fbfe6f137..25b4eae31 100644 --- a/server/tests/api/check-params/videos.js +++ b/server/tests/api/check-params/videos.js | |||
@@ -251,19 +251,6 @@ describe('Test videos API validator', function () { | |||
251 | requestsUtils.makePostUploadRequest(server.url, path, server.accessToken, data, attach, done) | 251 | requestsUtils.makePostUploadRequest(server.url, path, server.accessToken, data, attach, done) |
252 | }) | 252 | }) |
253 | 253 | ||
254 | it('Should fail with malformed tags', function (done) { | ||
255 | const data = { | ||
256 | name: 'my super name', | ||
257 | category: 5, | ||
258 | description: 'my super description', | ||
259 | tags: [ 'my tag' ] | ||
260 | } | ||
261 | const attach = { | ||
262 | 'videofile': pathUtils.join(__dirname, '..', 'fixtures', 'video_short.webm') | ||
263 | } | ||
264 | requestsUtils.makePostUploadRequest(server.url, path, server.accessToken, data, attach, done) | ||
265 | }) | ||
266 | |||
267 | it('Should fail without an input file', function (done) { | 254 | it('Should fail without an input file', function (done) { |
268 | const data = { | 255 | const data = { |
269 | name: 'my super name', | 256 | name: 'my super name', |