]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/tests/api/server/stats.ts
Fix various typos
[github/Chocobozzz/PeerTube.git] / server / tests / api / server / stats.ts
index 2296c0cb978838179a5c20a400b9e3ecf6686373..a9ae236fba03c247414f59ad99cbca0a380c080e 100644 (file)
@@ -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)