summaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/npm-registry-client/test/adduser-update.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/node_modules/npm-registry-client/test/adduser-update.js')
-rw-r--r--deps/npm/node_modules/npm-registry-client/test/adduser-update.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/npm/node_modules/npm-registry-client/test/adduser-update.js b/deps/npm/node_modules/npm-registry-client/test/adduser-update.js
index 03a1edbb2..1d70c5a78 100644
--- a/deps/npm/node_modules/npm-registry-client/test/adduser-update.js
+++ b/deps/npm/node_modules/npm-registry-client/test/adduser-update.js
@@ -32,7 +32,7 @@ tap.test("update a user acct", function (t) {
res.json({error: "conflict"})
})
- server.expect("GET", "/-/user/org.couchdb.user:username", function (req, res) {
+ server.expect("GET", "/-/user/org.couchdb.user:username?write=true", function (req, res) {
t.equal(req.method, "GET")
res.json(userdata)
})