diff options
Diffstat (limited to 'server/tests/utils/videos')
-rw-r--r-- | server/tests/utils/videos/videos.ts | 12 |
1 files changed, 8 insertions, 4 deletions
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) { | |||
23 | 23 | ||
24 | return makeGetRequest({ | 24 | return makeGetRequest({ |
25 | url, | 25 | url, |
26 | path | 26 | path, |
27 | statusCodeExpected: 200 | ||
27 | }) | 28 | }) |
28 | } | 29 | } |
29 | 30 | ||
@@ -32,7 +33,8 @@ function getVideoLicences (url: string) { | |||
32 | 33 | ||
33 | return makeGetRequest({ | 34 | return makeGetRequest({ |
34 | url, | 35 | url, |
35 | path | 36 | path, |
37 | statusCodeExpected: 200 | ||
36 | }) | 38 | }) |
37 | } | 39 | } |
38 | 40 | ||
@@ -41,7 +43,8 @@ function getVideoLanguages (url: string) { | |||
41 | 43 | ||
42 | return makeGetRequest({ | 44 | return makeGetRequest({ |
43 | url, | 45 | url, |
44 | path | 46 | path, |
47 | statusCodeExpected: 200 | ||
45 | }) | 48 | }) |
46 | } | 49 | } |
47 | 50 | ||
@@ -50,7 +53,8 @@ function getVideoPrivacies (url: string) { | |||
50 | 53 | ||
51 | return makeGetRequest({ | 54 | return makeGetRequest({ |
52 | url, | 55 | url, |
53 | path | 56 | path, |
57 | statusCodeExpected: 200 | ||
54 | }) | 58 | }) |
55 | } | 59 | } |
56 | 60 | ||