]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/tests/utils/videos/videos.ts
Fix videos tests
[github/Chocobozzz/PeerTube.git] / server / tests / utils / videos / videos.ts
index 166253ffc971c8de774beb476cc42b324f31f7bb..7393942534b831be1da5fa0b5a5edb050ef2eedf 100644 (file)
@@ -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
   })
 }