From 18327bdf51ff534136d06906ba5c1f228718c371 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 8 Dec 2017 10:15:55 +0100 Subject: [PATCH] Fix test --- server/tests/api/check-params/videos.ts | 6 +++--- 1 file 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 () { 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 }) }) })