diff options
author | Chocobozzz <me@florianbigard.com> | 2022-12-21 10:56:57 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-12-21 10:56:57 +0100 |
commit | 41027acb0a0c7d59a22f0f56d60928660f576196 (patch) | |
tree | 17d930f07437491602347be632b155c60cde69c6 /server/tests | |
parent | d91439648c212f9bca527cbcb05ba2e233b56deb (diff) | |
parent | 77f0c0e5dc197729a9255188c210e363b7d90be1 (diff) | |
download | PeerTube-41027acb0a0c7d59a22f0f56d60928660f576196.tar.gz PeerTube-41027acb0a0c7d59a22f0f56d60928660f576196.tar.zst PeerTube-41027acb0a0c7d59a22f0f56d60928660f576196.zip |
Merge branch 'release/5.0.0' into develop
Diffstat (limited to 'server/tests')
-rw-r--r-- | server/tests/api/server/stats.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/server/tests/api/server/stats.ts b/server/tests/api/server/stats.ts index 83b0e73d6..942cbeaa4 100644 --- a/server/tests/api/server/stats.ts +++ b/server/tests/api/server/stats.ts | |||
@@ -131,6 +131,7 @@ describe('Test stats (excluding redundancy)', function () { | |||
131 | { | 131 | { |
132 | const data = await server.stats.get() | 132 | const data = await server.stats.get() |
133 | 133 | ||
134 | expect(data.totalLocalVideoChannels).to.equal(2) | ||
134 | expect(data.totalLocalDailyActiveVideoChannels).to.equal(1) | 135 | expect(data.totalLocalDailyActiveVideoChannels).to.equal(1) |
135 | expect(data.totalLocalWeeklyActiveVideoChannels).to.equal(1) | 136 | expect(data.totalLocalWeeklyActiveVideoChannels).to.equal(1) |
136 | expect(data.totalLocalMonthlyActiveVideoChannels).to.equal(1) | 137 | expect(data.totalLocalMonthlyActiveVideoChannels).to.equal(1) |
@@ -146,6 +147,7 @@ describe('Test stats (excluding redundancy)', function () { | |||
146 | 147 | ||
147 | const data = await server.stats.get() | 148 | const data = await server.stats.get() |
148 | 149 | ||
150 | expect(data.totalLocalVideoChannels).to.equal(3) | ||
149 | expect(data.totalLocalDailyActiveVideoChannels).to.equal(1) | 151 | expect(data.totalLocalDailyActiveVideoChannels).to.equal(1) |
150 | expect(data.totalLocalWeeklyActiveVideoChannels).to.equal(1) | 152 | expect(data.totalLocalWeeklyActiveVideoChannels).to.equal(1) |
151 | expect(data.totalLocalMonthlyActiveVideoChannels).to.equal(1) | 153 | expect(data.totalLocalMonthlyActiveVideoChannels).to.equal(1) |
@@ -156,6 +158,7 @@ describe('Test stats (excluding redundancy)', function () { | |||
156 | 158 | ||
157 | const data = await server.stats.get() | 159 | const data = await server.stats.get() |
158 | 160 | ||
161 | expect(data.totalLocalVideoChannels).to.equal(3) | ||
159 | expect(data.totalLocalDailyActiveVideoChannels).to.equal(2) | 162 | expect(data.totalLocalDailyActiveVideoChannels).to.equal(2) |
160 | expect(data.totalLocalWeeklyActiveVideoChannels).to.equal(2) | 163 | expect(data.totalLocalWeeklyActiveVideoChannels).to.equal(2) |
161 | expect(data.totalLocalMonthlyActiveVideoChannels).to.equal(2) | 164 | expect(data.totalLocalMonthlyActiveVideoChannels).to.equal(2) |