diff --git a/test/tap/404-private-registry-scoped.js b/test/tap/404-private-registry-scoped.js index 48889376caa37..f8a8c5b05a572 100644 --- a/test/tap/404-private-registry-scoped.js +++ b/test/tap/404-private-registry-scoped.js @@ -3,7 +3,7 @@ var path = require('path') var mkdirp = require('mkdirp') var rimraf = require('rimraf') var common = require('../common-tap.js') -var mr = require('npm-registry-mock') +var mr = common.fakeRegistry.compat var server var testdir = path.join(__dirname, path.basename(__filename, '.js')) diff --git a/test/tap/404-private-registry.js b/test/tap/404-private-registry.js index a38fa02c12536..da6e446918f92 100644 --- a/test/tap/404-private-registry.js +++ b/test/tap/404-private-registry.js @@ -3,7 +3,7 @@ var path = require('path') var mkdirp = require('mkdirp') var rimraf = require('rimraf') var common = require('../common-tap.js') -var mr = require('npm-registry-mock') +var mr = common.fakeRegistry.compat var server var packageName = path.basename(__filename, '.js')