+ it('Should have the correct follows counts', async function () {
+ await expectAccountFollows(servers[0].url, 'peertube@localhost:9001', 0, 2)
+ await expectAccountFollows(servers[0].url, 'peertube@localhost:9002', 1, 0)
+ await expectAccountFollows(servers[0].url, 'peertube@localhost:9003', 1, 0)
+
+ // Server 2 and 3 does not know server 1 follow another server (there was not a refresh)
+ await expectAccountFollows(servers[1].url, 'peertube@localhost:9001', 0, 1)
+ await expectAccountFollows(servers[1].url, 'peertube@localhost:9002', 1, 0)
+
+ await expectAccountFollows(servers[2].url, 'peertube@localhost:9001', 0, 1)
+ await expectAccountFollows(servers[2].url, 'peertube@localhost:9003', 1, 0)
+ })
+