Begin unit tests
[oweals/peertube.git] / server / tests / utils / videos.ts
index bdf3368ac87d460401348eaead2596c7287f6d2a..fb758cf29bf42081998b10603626602b5a16b447 100644 (file)
@@ -201,7 +201,7 @@ async function testVideoImage (url: string, imageName: string, imagePath: string
   }
 }
 
-async function uploadVideo (url: string, accessToken: string, videoAttributesArg: VideoAttributes, specialStatus = 201) {
+async function uploadVideo (url: string, accessToken: string, videoAttributesArg: VideoAttributes, specialStatus = 200) {
   const path = '/api/v1/videos/upload'
   let defaultChannelId = '1'