aboutsummaryrefslogtreecommitdiff
path: root/deps/npm/test/tap/cache-add-unpublished.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/test/tap/cache-add-unpublished.js')
-rw-r--r--deps/npm/test/tap/cache-add-unpublished.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/npm/test/tap/cache-add-unpublished.js b/deps/npm/test/tap/cache-add-unpublished.js
index 0e8a9de8bf..08592a50de 100644
--- a/deps/npm/test/tap/cache-add-unpublished.js
+++ b/deps/npm/test/tap/cache-add-unpublished.js
@@ -11,7 +11,7 @@ test('cache add', function (t) {
'cache',
'add',
'superfoo',
- '--registry=http://localhost:1337/'
+ '--registry=http://localhost:' + common.port + '/'
],
{},
function (er, c, so, se) {
@@ -31,7 +31,7 @@ function setup (cb) {
res.statusCode = 404
res.end('{"error":"not_found"}\n')
})
- s.listen(1337, function () {
+ s.listen(common.port, function () {
cb(null, s)
})
}