From 572f8d3dba44ba874f5c51023214273e3f5b643c Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 17 Nov 2017 15:42:12 +0100 Subject: Fix public video we set to public or unlisted --- server/tests/utils/follows.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'server/tests/utils') 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 .send({ 'hosts': followingHosts }) .expect(expectedStatus) - // Wait request propagation - await wait(20000) - return res } @@ -51,6 +48,9 @@ async function doubleFollow (server1: ServerInfo, server2: ServerInfo) { follow(server2.url, [ server1.url ], server2.accessToken) ]) + // Wait request propagation + await wait(20000) + return true } -- cgit v1.2.3