X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Ftests%2Fapi%2Fserver%2Fstats.ts;h=a9ae236fba03c247414f59ad99cbca0a380c080e;hb=b211106695bb82f6c32e53306081b5262c3d109d;hp=2296c0cb978838179a5c20a400b9e3ecf6686373;hpb=ab4b8974997777373a6032073f9c1aaf33ba9931;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/tests/api/server/stats.ts b/server/tests/api/server/stats.ts index 2296c0cb9..a9ae236fb 100644 --- a/server/tests/api/server/stats.ts +++ b/server/tests/api/server/stats.ts @@ -38,7 +38,7 @@ describe('Test stats (excluding redundancy)', function () { await servers[0].comments.createThread({ videoId: uuid, text: 'comment' }) - await servers[0].videos.view({ id: uuid }) + await servers[0].views.simulateView({ id: uuid }) // Wait the video views repeatable job await wait(8000)