aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-01-12 12:18:11 +0100
committerChocobozzz <me@florianbigard.com>2018-01-12 12:18:11 +0100
commit38768a367bf41393128cc9476700b99022d7d92a (patch)
tree8ece292bd47296d6f310411985ccc251522ab68c /server/tests
parenta3fd560d11554073f0247f3785192cab920ae602 (diff)
downloadPeerTube-38768a367bf41393128cc9476700b99022d7d92a.tar.gz
PeerTube-38768a367bf41393128cc9476700b99022d7d92a.tar.zst
PeerTube-38768a367bf41393128cc9476700b99022d7d92a.zip
Fix lint
Diffstat (limited to 'server/tests')
-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)