diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-12-08 10:15:55 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-12-08 10:15:55 +0100 |
commit | 18327bdf51ff534136d06906ba5c1f228718c371 (patch) | |
tree | 7ce481f2b5758b55acb7c79d422137db146390f4 /server | |
parent | e11f68a3562d2468480c396f47f1bdd2a306e17a (diff) | |
download | PeerTube-18327bdf51ff534136d06906ba5c1f228718c371.tar.gz PeerTube-18327bdf51ff534136d06906ba5c1f228718c371.tar.zst PeerTube-18327bdf51ff534136d06906ba5c1f228718c371.zip |
Fix test
Diffstat (limited to 'server')
-rw-r--r-- | server/tests/api/check-params/videos.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/tests/api/check-params/videos.ts b/server/tests/api/check-params/videos.ts index 00a209665..0aaa6e7c9 100644 --- a/server/tests/api/check-params/videos.ts +++ b/server/tests/api/check-params/videos.ts | |||
@@ -321,7 +321,7 @@ describe('Test videos API validator', function () { | |||
321 | token: server.accessToken, | 321 | token: server.accessToken, |
322 | fields, | 322 | fields, |
323 | attaches, | 323 | attaches, |
324 | statusCodeExpected: 204 | 324 | statusCodeExpected: 200 |
325 | }) | 325 | }) |
326 | 326 | ||
327 | attaches.videofile = join(__dirname, '..', 'fixtures', 'video_short.mp4') | 327 | attaches.videofile = join(__dirname, '..', 'fixtures', 'video_short.mp4') |
@@ -331,7 +331,7 @@ describe('Test videos API validator', function () { | |||
331 | token: server.accessToken, | 331 | token: server.accessToken, |
332 | fields, | 332 | fields, |
333 | attaches, | 333 | attaches, |
334 | statusCodeExpected: 204 | 334 | statusCodeExpected: 200 |
335 | }) | 335 | }) |
336 | 336 | ||
337 | attaches.videofile = join(__dirname, '..', 'fixtures', 'video_short.ogv') | 337 | attaches.videofile = join(__dirname, '..', 'fixtures', 'video_short.ogv') |
@@ -341,7 +341,7 @@ describe('Test videos API validator', function () { | |||
341 | token: server.accessToken, | 341 | token: server.accessToken, |
342 | fields, | 342 | fields, |
343 | attaches, | 343 | attaches, |
344 | statusCodeExpected: 204 | 344 | statusCodeExpected: 200 |
345 | }) | 345 | }) |
346 | }) | 346 | }) |
347 | }) | 347 | }) |