From f0c6cebd73410c711ff2fc1167f7bded692dad1e Mon Sep 17 00:00:00 2001 From: Spencer T Brody Date: Thu, 10 Oct 2013 20:04:15 -0400 Subject: SERVER-10794 Maintain backwards-compatible form of addUser for one more release --- jstests/auth/readIndex.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'jstests/auth/readIndex.js') diff --git a/jstests/auth/readIndex.js b/jstests/auth/readIndex.js index 39ef54b31f8..379d82e8ae8 100644 --- a/jstests/auth/readIndex.js +++ b/jstests/auth/readIndex.js @@ -7,8 +7,8 @@ var testDB = conn.getDB("testdb"); testDB.foo.insert({a:1}); testDB.addUser({user:'dbAdmin', - pwd:'password', - roles:['dbAdmin']}); + pwd:'password', + roles:['dbAdmin']}); testDB.auth('dbAdmin', 'password'); testDB.foo.ensureIndex({a:1}); -- cgit v1.2.1