]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/tests/misc-endpoints.ts
Support activeMonth and activeHalfyear in nodeinfo
[github/Chocobozzz/PeerTube.git] / server / tests / misc-endpoints.ts
index 698d833283caea5b5a03e0463ccc1f2231b91453..162b53e18d6b7f6ab2e0e0960bcdcdd4d117f051 100644 (file)
@@ -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)
     })
   })