From 47d8e266f16b91fec7e4a15a8372d50c2909c042 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Wed, 30 Dec 2020 11:41:36 +0100 Subject: Support activeMonth and activeHalfyear in nodeinfo --- server/tests/misc-endpoints.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'server/tests') diff --git a/server/tests/misc-endpoints.ts b/server/tests/misc-endpoints.ts index 698d83328..162b53e18 100644 --- a/server/tests/misc-endpoints.ts +++ b/server/tests/misc-endpoints.ts @@ -110,6 +110,8 @@ describe('Test misc endpoints', function () { }) expect(res.body.software.name).to.equal('peertube') + expect(res.body.usage.users.activeMonth).to.equal(1) + expect(res.body.usage.users.activeHalfyear).to.equal(1) }) }) -- cgit v1.2.3