summaryrefslogtreecommitdiff
path: root/deps/npm/test/tap/publish-config.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/test/tap/publish-config.js')
-rw-r--r--deps/npm/test/tap/publish-config.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/deps/npm/test/tap/publish-config.js b/deps/npm/test/tap/publish-config.js
index 14fd40311a..705ef7ae7a 100644
--- a/deps/npm/test/tap/publish-config.js
+++ b/deps/npm/test/tap/publish-config.js
@@ -17,9 +17,9 @@ fs.writeFileSync(pkg + '/package.json', JSON.stringify({
}), 'utf8')
fs.writeFileSync(pkg + '/fixture_npmrc',
- '//localhost:1337/:email = fancy@feast.net\n' +
- '//localhost:1337/:username = fancy\n' +
- '//localhost:1337/:_password = ' + Buffer.from('feast').toString('base64'))
+ '//localhost:' + common.port + '/:email = fancy@feast.net\n' +
+ '//localhost:' + common.port + '/:username = fancy\n' +
+ '//localhost:' + common.port + '/:_password = ' + Buffer.from('feast').toString('base64'))
test(function (t) {
let child