aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-05-13 16:35:51 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-05-13 16:35:51 +0200
commitbc59d9e056fb26863ed0c2109feba27b94115cb3 (patch)
tree1e52721169832198e930b072dc00176489ca8d84 /server/tests/api
parentb3b926474204ad736ec434aafc8afc6bc55079f6 (diff)
downloadPeerTube-bc59d9e056fb26863ed0c2109feba27b94115cb3.tar.gz
PeerTube-bc59d9e056fb26863ed0c2109feba27b94115cb3.tar.zst
PeerTube-bc59d9e056fb26863ed0c2109feba27b94115cb3.zip
Fix adding twice a torrent in webtorrent
Diffstat (limited to 'server/tests/api')
-rw-r--r--server/tests/api/multiplePods.js2
1 files changed, 1 insertions, 1 deletions
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 () {
316 expect(torrent.files.length).to.equal(1) 316 expect(torrent.files.length).to.equal(1)
317 expect(torrent.files[0].path).to.exist.and.to.not.equal('') 317 expect(torrent.files[0].path).to.exist.and.to.not.equal('')
318 318
319 done() 319 webtorrent.remove(video.magnetUri, done)
320 }) 320 })
321 }) 321 })
322 }) 322 })