aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-09-14 16:51:35 +0200
committerChocobozzz <me@florianbigard.com>2018-09-14 16:51:35 +0200
commita2377d15ee09301cf4cc5434ad865a21918da15f (patch)
tree4325153370bb19511ff162114056a5c7fd89744d /server/tests
parentd61b817890d5d5bba61d447518321870498028d8 (diff)
downloadPeerTube-a2377d15ee09301cf4cc5434ad865a21918da15f.tar.gz
PeerTube-a2377d15ee09301cf4cc5434ad865a21918da15f.tar.zst
PeerTube-a2377d15ee09301cf4cc5434ad865a21918da15f.zip
Refractor activities sending
Diffstat (limited to 'server/tests')
-rw-r--r--server/tests/api/server/stats.ts3
1 files changed, 0 insertions, 3 deletions
diff --git a/server/tests/api/server/stats.ts b/server/tests/api/server/stats.ts
index d8a3268bb..cb229e876 100644
--- a/server/tests/api/server/stats.ts
+++ b/server/tests/api/server/stats.ts
@@ -65,7 +65,6 @@ describe('Test stats (excluding redundancy)', function () {
65 expect(data.totalVideos).to.equal(1) 65 expect(data.totalVideos).to.equal(1)
66 expect(data.totalInstanceFollowers).to.equal(2) 66 expect(data.totalInstanceFollowers).to.equal(2)
67 expect(data.totalInstanceFollowing).to.equal(1) 67 expect(data.totalInstanceFollowing).to.equal(1)
68 expect(data.videosRedundancy).to.have.lengthOf(0)
69 }) 68 })
70 69
71 it('Should have the correct stats on instance 2', async function () { 70 it('Should have the correct stats on instance 2', async function () {
@@ -80,7 +79,6 @@ describe('Test stats (excluding redundancy)', function () {
80 expect(data.totalVideos).to.equal(1) 79 expect(data.totalVideos).to.equal(1)
81 expect(data.totalInstanceFollowers).to.equal(1) 80 expect(data.totalInstanceFollowers).to.equal(1)
82 expect(data.totalInstanceFollowing).to.equal(1) 81 expect(data.totalInstanceFollowing).to.equal(1)
83 expect(data.videosRedundancy).to.have.lengthOf(0)
84 }) 82 })
85 83
86 it('Should have the correct stats on instance 3', async function () { 84 it('Should have the correct stats on instance 3', async function () {
@@ -95,7 +93,6 @@ describe('Test stats (excluding redundancy)', function () {
95 expect(data.totalVideos).to.equal(1) 93 expect(data.totalVideos).to.equal(1)
96 expect(data.totalInstanceFollowing).to.equal(1) 94 expect(data.totalInstanceFollowing).to.equal(1)
97 expect(data.totalInstanceFollowers).to.equal(0) 95 expect(data.totalInstanceFollowers).to.equal(0)
98 expect(data.videosRedundancy).to.have.lengthOf(0)
99 }) 96 })
100 97
101 after(async function () { 98 after(async function () {