diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-03-22 21:47:05 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-03-22 21:56:02 +0100 |
commit | e54163c2d5cc925eb56ead831f2fecd000222a98 (patch) | |
tree | 142d0592d66d90b489f592a867770235315bee0c /server/tests | |
parent | 6e07c3de88791a0b342e0cc319590048117f9c2d (diff) | |
download | PeerTube-e54163c2d5cc925eb56ead831f2fecd000222a98.tar.gz PeerTube-e54163c2d5cc925eb56ead831f2fecd000222a98.tar.zst PeerTube-e54163c2d5cc925eb56ead831f2fecd000222a98.zip |
Relax on tags (accept any characters and not required anymore)
Diffstat (limited to 'server/tests')
-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', |