]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/tests/utils/videos.ts
Design second video upload step
[github/Chocobozzz/PeerTube.git] / server / tests / utils / videos.ts
index ff7da9bb280ce5f9a43c9bb493f28b0884398d15..bdf3368ac87d460401348eaead2596c7287f6d2a 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 = 204) {
+async function uploadVideo (url: string, accessToken: string, videoAttributesArg: VideoAttributes, specialStatus = 201) {
   const path = '/api/v1/videos/upload'
   let defaultChannelId = '1'