From dfa4944f3401b5c1225e3235a016510c9f5a7c8a Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 21 Dec 2022 10:46:55 +0100 Subject: Fix local channel stats --- server/tests/api/server/stats.ts | 3 +++ 1 file changed, 3 insertions(+) (limited to 'server/tests') 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 () { { const data = await server.stats.get() + expect(data.totalLocalVideoChannels).to.equal(2) expect(data.totalLocalDailyActiveVideoChannels).to.equal(1) expect(data.totalLocalWeeklyActiveVideoChannels).to.equal(1) expect(data.totalLocalMonthlyActiveVideoChannels).to.equal(1) @@ -146,6 +147,7 @@ describe('Test stats (excluding redundancy)', function () { const data = await server.stats.get() + expect(data.totalLocalVideoChannels).to.equal(3) expect(data.totalLocalDailyActiveVideoChannels).to.equal(1) expect(data.totalLocalWeeklyActiveVideoChannels).to.equal(1) expect(data.totalLocalMonthlyActiveVideoChannels).to.equal(1) @@ -156,6 +158,7 @@ describe('Test stats (excluding redundancy)', function () { const data = await server.stats.get() + expect(data.totalLocalVideoChannels).to.equal(3) expect(data.totalLocalDailyActiveVideoChannels).to.equal(2) expect(data.totalLocalWeeklyActiveVideoChannels).to.equal(2) expect(data.totalLocalMonthlyActiveVideoChannels).to.equal(2) -- cgit v1.2.3