]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/tests/api/multiplePods.js
Fix adding twice a torrent in webtorrent
[github/Chocobozzz/PeerTube.git] / server / tests / api / multiplePods.js
index 486457347a19d1f91744a067f8b0552394026d7c..51e7fb3d194a0dd1e6f55f94626efa319f896d4f 100644 (file)
@@ -316,7 +316,7 @@ describe('Test multiple pods', function () {
           expect(torrent.files.length).to.equal(1)
           expect(torrent.files[0].path).to.exist.and.to.not.equal('')
 
-          done()
+          webtorrent.remove(video.magnetUri, done)
         })
       })
     })