aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/video-description.ts
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-11-17 15:42:12 +0100
committerChocobozzz <florian.bigard@gmail.com>2017-11-27 19:40:52 +0100
commit572f8d3dba44ba874f5c51023214273e3f5b643c (patch)
treed8f71046205d5e4618f5a1c5ed002dd1b8bc6661 /server/tests/api/video-description.ts
parent9a27cdc27c900feaae5f6db4315c4ccdfc0c4493 (diff)
downloadPeerTube-572f8d3dba44ba874f5c51023214273e3f5b643c.tar.gz
PeerTube-572f8d3dba44ba874f5c51023214273e3f5b643c.tar.zst
PeerTube-572f8d3dba44ba874f5c51023214273e3f5b643c.zip
Fix public video we set to public or unlisted
Diffstat (limited to 'server/tests/api/video-description.ts')
-rw-r--r--server/tests/api/video-description.ts10
1 files changed, 5 insertions, 5 deletions
diff --git a/server/tests/api/video-description.ts b/server/tests/api/video-description.ts
index 187fd21f2..7ad1c63ae 100644
--- a/server/tests/api/video-description.ts
+++ b/server/tests/api/video-description.ts
@@ -26,7 +26,7 @@ describe('Test video description', function () {
26 let longDescription = 'my super description for server 1'.repeat(50) 26 let longDescription = 'my super description for server 1'.repeat(50)
27 27
28 before(async function () { 28 before(async function () {
29 this.timeout(30000) 29 this.timeout(40000)
30 30
31 // Run servers 31 // Run servers
32 servers = await flushAndRunMultipleServers(2) 32 servers = await flushAndRunMultipleServers(2)
@@ -39,14 +39,14 @@ describe('Test video description', function () {
39 }) 39 })
40 40
41 it('Should upload video with long description', async function () { 41 it('Should upload video with long description', async function () {
42 this.timeout(30000) 42 this.timeout(10000)
43 43
44 const attributes = { 44 const attributes = {
45 description: longDescription 45 description: longDescription
46 } 46 }
47 await uploadVideo(servers[0].url, servers[0].accessToken, attributes) 47 await uploadVideo(servers[0].url, servers[0].accessToken, attributes)
48 48
49 await wait(25000) 49 await wait(5000)
50 50
51 const res = await getVideosList(servers[0].url) 51 const res = await getVideosList(servers[0].url)
52 52
@@ -78,14 +78,14 @@ describe('Test video description', function () {
78 }) 78 })
79 79
80 it('Should update with a short description', async function () { 80 it('Should update with a short description', async function () {
81 this.timeout(30000) 81 this.timeout(10000)
82 82
83 const attributes = { 83 const attributes = {
84 description: 'short description' 84 description: 'short description'
85 } 85 }
86 await updateVideo(servers[0].url, servers[0].accessToken, videoId, attributes) 86 await updateVideo(servers[0].url, servers[0].accessToken, videoId, attributes)
87 87
88 await wait(25000) 88 await wait(5000)
89 }) 89 })
90 90
91 it('Should have a small description on each server', async function () { 91 it('Should have a small description on each server', async function () {