From e54163c2d5cc925eb56ead831f2fecd000222a98 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 22 Mar 2017 21:47:05 +0100 Subject: Relax on tags (accept any characters and not required anymore) --- server/tests/api/check-params/videos.js | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'server/tests/api') 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 () { requestsUtils.makePostUploadRequest(server.url, path, server.accessToken, data, attach, done) }) - it('Should fail with malformed tags', function (done) { - const data = { - name: 'my super name', - category: 5, - description: 'my super description', - tags: [ 'my tag' ] - } - const attach = { - 'videofile': pathUtils.join(__dirname, '..', 'fixtures', 'video_short.webm') - } - requestsUtils.makePostUploadRequest(server.url, path, server.accessToken, data, attach, done) - }) - it('Should fail without an input file', function (done) { const data = { name: 'my super name', -- cgit v1.2.3