aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-12-08 08:39:15 +0100
committerChocobozzz <florian.bigard@gmail.com>2017-12-08 09:57:29 +0100
commitcadb46d832724ea1a17b085b992142aa32e212be (patch)
treedf1972470ab022e95ff5dc7866c78174c36bfa37 /server/tests/api
parentc182778e26b8478fae9d7dd0bf0687baf7b72fd1 (diff)
downloadPeerTube-cadb46d832724ea1a17b085b992142aa32e212be.tar.gz
PeerTube-cadb46d832724ea1a17b085b992142aa32e212be.tar.zst
PeerTube-cadb46d832724ea1a17b085b992142aa32e212be.zip
Design second video upload step
Diffstat (limited to 'server/tests/api')
-rw-r--r--server/tests/api/single-server.ts5
1 files changed, 4 insertions, 1 deletions
diff --git a/server/tests/api/single-server.ts b/server/tests/api/single-server.ts
index fbb2dd1fb..ed79f9e1c 100644
--- a/server/tests/api/single-server.ts
+++ b/server/tests/api/single-server.ts
@@ -104,7 +104,10 @@ describe('Test a single server', function () {
104 licence: 6, 104 licence: 6,
105 tags: [ 'tag1', 'tag2', 'tag3' ] 105 tags: [ 'tag1', 'tag2', 'tag3' ]
106 } 106 }
107 await uploadVideo(server.url, server.accessToken, videoAttributes) 107 const res = await uploadVideo(server.url, server.accessToken, videoAttributes)
108 expect(res.body.video).to.not.be.undefined
109 expect(res.body.video.id).to.equal(1)
110 expect(res.body.video.uuid).to.have.length.above(5)
108 }) 111 })
109 112
110 it('Should seed the uploaded video', async function () { 113 it('Should seed the uploaded video', async function () {