diff options
author | Chocobozzz <me@florianbigard.com> | 2022-05-06 14:23:02 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-05-06 14:23:02 +0200 |
commit | f40712abbbb74e51f06037ef02757c42736bccf8 (patch) | |
tree | 4b130c6387f9687d52d570907eb1bbac6bc04b61 /server/tests/api/check-params/views.ts | |
parent | 49f0468d44468528c2fb2c8b0efd19cdaeeec43d (diff) | |
download | PeerTube-f40712abbbb74e51f06037ef02757c42736bccf8.tar.gz PeerTube-f40712abbbb74e51f06037ef02757c42736bccf8.tar.zst PeerTube-f40712abbbb74e51f06037ef02757c42736bccf8.zip |
Add ability to filter overall video stats by date
Diffstat (limited to 'server/tests/api/check-params/views.ts')
-rw-r--r-- | server/tests/api/check-params/views.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/api/check-params/views.ts b/server/tests/api/check-params/views.ts index fe037b145..8f1fa796b 100644 --- a/server/tests/api/check-params/views.ts +++ b/server/tests/api/check-params/views.ts | |||
@@ -176,7 +176,7 @@ describe('Test videos views', function () { | |||
176 | await servers[0].videoStats.getTimeserieStats({ | 176 | await servers[0].videoStats.getTimeserieStats({ |
177 | videoId, | 177 | videoId, |
178 | metric: 'viewers', | 178 | metric: 'viewers', |
179 | startDate: new Date('2021-04-07T08:31:57.126Z'), | 179 | startDate: new Date('2000-04-07T08:31:57.126Z'), |
180 | endDate: new Date(), | 180 | endDate: new Date(), |
181 | expectedStatus: HttpStatusCode.BAD_REQUEST_400 | 181 | expectedStatus: HttpStatusCode.BAD_REQUEST_400 |
182 | }) | 182 | }) |