diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-11-17 15:42:12 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-11-27 19:40:52 +0100 |
commit | 572f8d3dba44ba874f5c51023214273e3f5b643c (patch) | |
tree | d8f71046205d5e4618f5a1c5ed002dd1b8bc6661 /server/tests/utils | |
parent | 9a27cdc27c900feaae5f6db4315c4ccdfc0c4493 (diff) | |
download | PeerTube-572f8d3dba44ba874f5c51023214273e3f5b643c.tar.gz PeerTube-572f8d3dba44ba874f5c51023214273e3f5b643c.tar.zst PeerTube-572f8d3dba44ba874f5c51023214273e3f5b643c.zip |
Fix public video we set to public or unlisted
Diffstat (limited to 'server/tests/utils')
-rw-r--r-- | server/tests/utils/follows.ts | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/server/tests/utils/follows.ts b/server/tests/utils/follows.ts index cffc1648f..618436b3c 100644 --- a/server/tests/utils/follows.ts +++ b/server/tests/utils/follows.ts | |||
@@ -39,9 +39,6 @@ async function follow (follower: string, following: string[], accessToken: strin | |||
39 | .send({ 'hosts': followingHosts }) | 39 | .send({ 'hosts': followingHosts }) |
40 | .expect(expectedStatus) | 40 | .expect(expectedStatus) |
41 | 41 | ||
42 | // Wait request propagation | ||
43 | await wait(20000) | ||
44 | |||
45 | return res | 42 | return res |
46 | } | 43 | } |
47 | 44 | ||
@@ -51,6 +48,9 @@ async function doubleFollow (server1: ServerInfo, server2: ServerInfo) { | |||
51 | follow(server2.url, [ server1.url ], server2.accessToken) | 48 | follow(server2.url, [ server1.url ], server2.accessToken) |
52 | ]) | 49 | ]) |
53 | 50 | ||
51 | // Wait request propagation | ||
52 | await wait(20000) | ||
53 | |||
54 | return true | 54 | return true |
55 | } | 55 | } |
56 | 56 | ||