aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api')
-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 () {