From 59651eee5600839cdc62911a211d61457d8456b7 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Thu, 28 Dec 2017 17:25:10 +0100 Subject: Fix videos tests --- server/tests/utils/videos/videos.ts | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'server/tests/utils/videos') diff --git a/server/tests/utils/videos/videos.ts b/server/tests/utils/videos/videos.ts index 166253ffc..739394253 100644 --- a/server/tests/utils/videos/videos.ts +++ b/server/tests/utils/videos/videos.ts @@ -23,7 +23,8 @@ function getVideoCategories (url: string) { return makeGetRequest({ url, - path + path, + statusCodeExpected: 200 }) } @@ -32,7 +33,8 @@ function getVideoLicences (url: string) { return makeGetRequest({ url, - path + path, + statusCodeExpected: 200 }) } @@ -41,7 +43,8 @@ function getVideoLanguages (url: string) { return makeGetRequest({ url, - path + path, + statusCodeExpected: 200 }) } @@ -50,7 +53,8 @@ function getVideoPrivacies (url: string) { return makeGetRequest({ url, - path + path, + statusCodeExpected: 200 }) } -- cgit v1.2.3