From: Chocobozzz Date: Fri, 13 May 2016 14:35:51 +0000 (+0200) Subject: Fix adding twice a torrent in webtorrent X-Git-Tag: v0.0.1-alpha~933 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=bc59d9e056fb26863ed0c2109feba27b94115cb3;p=oweals%2Fpeertube.git Fix adding twice a torrent in webtorrent --- diff --git a/server/tests/api/multiplePods.js b/server/tests/api/multiplePods.js index 486457347..51e7fb3d1 100644 --- a/server/tests/api/multiplePods.js +++ b/server/tests/api/multiplePods.js @@ -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) }) }) })