From: Chocobozzz Date: Fri, 8 Dec 2017 09:15:55 +0000 (+0100) Subject: Fix test X-Git-Tag: v0.0.1-alpha~149^2~13 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=18327bdf51ff534136d06906ba5c1f228718c371;p=github%2FChocobozzz%2FPeerTube.git Fix test --- 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 () { token: server.accessToken, fields, attaches, - statusCodeExpected: 204 + statusCodeExpected: 200 }) attaches.videofile = join(__dirname, '..', 'fixtures', 'video_short.mp4') @@ -331,7 +331,7 @@ describe('Test videos API validator', function () { token: server.accessToken, fields, attaches, - statusCodeExpected: 204 + statusCodeExpected: 200 }) attaches.videofile = join(__dirname, '..', 'fixtures', 'video_short.ogv') @@ -341,7 +341,7 @@ describe('Test videos API validator', function () { token: server.accessToken, fields, attaches, - statusCodeExpected: 204 + statusCodeExpected: 200 }) }) })