diff options
author | Alex <alxmorais8@msn.com> | 2019-08-12 16:41:54 +0300 |
---|---|---|
committer | Alex <alxmorais8@msn.com> | 2019-08-12 16:41:54 +0300 |
commit | 35fc44f9b98d6970244a517a5a9ca6175a3b40f5 (patch) | |
tree | 028150c3d01ccc35757dcb815eefeb5dff09cb15 /test/node/blocklist-tracker.js | |
parent | 26dcc3fb29e3d9fa4b94fe195aae7ba028684178 (diff) |
Rename util function for tests
Diffstat (limited to 'test/node/blocklist-tracker.js')
-rw-r--r-- | test/node/blocklist-tracker.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/node/blocklist-tracker.js b/test/node/blocklist-tracker.js index 665ad48..e877d24 100644 --- a/test/node/blocklist-tracker.js +++ b/test/node/blocklist-tracker.js @@ -40,7 +40,7 @@ test('blocklist blocks peers discovered via tracker', function (t) { client1.on('warning', function (err) { t.fail(err) }) var torrent1 = client1.add(parsedTorrent, { - path: common.getTestPath('client_1', parsedTorrent.infoHash) + path: common.getDownloadPath('client_1', parsedTorrent.infoHash) }) torrent1.on('invalidPeer', function () { @@ -62,7 +62,7 @@ test('blocklist blocks peers discovered via tracker', function (t) { client2.on('warning', function (err) { t.fail(err) }) var torrent2 = client2.add(parsedTorrent, { - path: common.getTestPath('client_2', parsedTorrent.infoHash) + path: common.getDownloadPath('client_2', parsedTorrent.infoHash) }) torrent2.once('blockedPeer', function () { |