aboutsummaryrefslogtreecommitdiff
path: root/deps/npm/test/tap/publish-scoped.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/test/tap/publish-scoped.js')
-rw-r--r--deps/npm/test/tap/publish-scoped.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/deps/npm/test/tap/publish-scoped.js b/deps/npm/test/tap/publish-scoped.js
index b8fe0ae2f6..efa86c8539 100644
--- a/deps/npm/test/tap/publish-scoped.js
+++ b/deps/npm/test/tap/publish-scoped.js
@@ -7,7 +7,7 @@ var rimraf = require('rimraf')
var common = require('../common-tap')
var mr = require('npm-registry-mock')
-var pkg = path.join(__dirname, 'prepublish_package')
+var pkg = common.pkg
var server
@@ -42,9 +42,9 @@ test('npm publish should honor scoping', function (t) {
'progress=false',
'cache=' + path.join(pkg, 'cache'),
'registry=http://nonexistent.lvh.me',
- '//localhost:1337/:username=username',
- '//localhost:1337/:_password=' + Buffer.from('password').toString('base64'),
- '//localhost:1337/:email=' + 'ogd@aoaioxxysz.net',
+ '//localhost:' + common.port + '/:username=username',
+ '//localhost:' + common.port + '/:_password=' + Buffer.from('password').toString('base64'),
+ '//localhost:' + common.port + '/:email=' + 'ogd@aoaioxxysz.net',
'@bigco:registry=' + common.registry
]
var configFile = path.join(pkg, '.npmrc')