aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api')
-rw-r--r--server/tests/api/server/follows.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/tests/api/server/follows.ts b/server/tests/api/server/follows.ts
index 27cf94985..d16e98bc1 100644
--- a/server/tests/api/server/follows.ts
+++ b/server/tests/api/server/follows.ts
@@ -117,7 +117,7 @@ describe('Test follows', function () {
117 expect(follows.length).to.equal(0) 117 expect(follows.length).to.equal(0)
118 }) 118 })
119 119
120 it('Should have the correct following counts', async function () { 120 it('Should have the correct follows counts', async function () {
121 await expectAccountFollows(servers[0].url, 'peertube@localhost:9001', 0, 2) 121 await expectAccountFollows(servers[0].url, 'peertube@localhost:9001', 0, 2)
122 await expectAccountFollows(servers[0].url, 'peertube@localhost:9002', 1, 0) 122 await expectAccountFollows(servers[0].url, 'peertube@localhost:9002', 1, 0)
123 await expectAccountFollows(servers[0].url, 'peertube@localhost:9003', 1, 0) 123 await expectAccountFollows(servers[0].url, 'peertube@localhost:9003', 1, 0)
@@ -158,7 +158,7 @@ describe('Test follows', function () {
158 expect(follows.length).to.equal(0) 158 expect(follows.length).to.equal(0)
159 }) 159 })
160 160
161 it('Should have the correct following counts 2', async function () { 161 it('Should have the correct follows counts 2', async function () {
162 await expectAccountFollows(servers[0].url, 'peertube@localhost:9001', 0, 1) 162 await expectAccountFollows(servers[0].url, 'peertube@localhost:9001', 0, 1)
163 await expectAccountFollows(servers[0].url, 'peertube@localhost:9002', 1, 0) 163 await expectAccountFollows(servers[0].url, 'peertube@localhost:9002', 1, 0)
164 164
@@ -248,7 +248,7 @@ describe('Test follows', function () {
248 await wait(7000) 248 await wait(7000)
249 }) 249 })
250 250
251 it('Should have the correct following counts 2', async function () { 251 it('Should have the correct follows counts 3', async function () {
252 await expectAccountFollows(servers[0].url, 'peertube@localhost:9001', 0, 2) 252 await expectAccountFollows(servers[0].url, 'peertube@localhost:9001', 0, 2)
253 await expectAccountFollows(servers[0].url, 'peertube@localhost:9002', 1, 0) 253 await expectAccountFollows(servers[0].url, 'peertube@localhost:9002', 1, 0)
254 await expectAccountFollows(servers[0].url, 'peertube@localhost:9003', 1, 0) 254 await expectAccountFollows(servers[0].url, 'peertube@localhost:9003', 1, 0)