]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/tests/plugins/plugin-helpers.ts
Clearer live session
[github/Chocobozzz/PeerTube.git] / server / tests / plugins / plugin-helpers.ts
index 167429ef4611d14e21360b7b7e32f5dc5a96cbf9..5e8d08dff7154b43b88098ed89e251cfa12e7a32 100644 (file)
@@ -301,7 +301,7 @@ describe('Test plugin helpers', function () {
       // Should not throw -> video exists
       const video = await servers[0].videos.get({ id: videoUUID })
       // Should delete the video
-      await servers[0].videos.view({ id: videoUUID })
+      await servers[0].views.simulateView({ id: videoUUID })
 
       await servers[0].servers.waitUntilLog('Video deleted by plugin four.')