diff options
author | Chocobozzz <me@florianbigard.com> | 2020-12-30 11:41:36 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-12-30 11:41:36 +0100 |
commit | 47d8e266f16b91fec7e4a15a8372d50c2909c042 (patch) | |
tree | 41902b4ff8dfc73dfd69f064a2e343a34c43ab97 /server/tests | |
parent | a046453549bf8f2ced083cc8ac414a9cab42dcf5 (diff) | |
download | PeerTube-47d8e266f16b91fec7e4a15a8372d50c2909c042.tar.gz PeerTube-47d8e266f16b91fec7e4a15a8372d50c2909c042.tar.zst PeerTube-47d8e266f16b91fec7e4a15a8372d50c2909c042.zip |
Support activeMonth and activeHalfyear in nodeinfo
Diffstat (limited to 'server/tests')
-rw-r--r-- | server/tests/misc-endpoints.ts | 2 |
1 files changed, 2 insertions, 0 deletions
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 () { | |||
110 | }) | 110 | }) |
111 | 111 | ||
112 | expect(res.body.software.name).to.equal('peertube') | 112 | expect(res.body.software.name).to.equal('peertube') |
113 | expect(res.body.usage.users.activeMonth).to.equal(1) | ||
114 | expect(res.body.usage.users.activeHalfyear).to.equal(1) | ||
113 | }) | 115 | }) |
114 | }) | 116 | }) |
115 | 117 | ||