diff options
author | Spencer T Brody <spencer@10gen.com> | 2013-10-10 20:04:15 -0400 |
---|---|---|
committer | Spencer T Brody <spencer@10gen.com> | 2013-10-11 18:14:12 -0400 |
commit | f0c6cebd73410c711ff2fc1167f7bded692dad1e (patch) | |
tree | d01f5609418387d75701adcd373fd59caa571353 /jstests/auth/readIndex.js | |
parent | 100fc6d278597a4e119ac70b07b0f7c38cd2c4ab (diff) | |
download | mongo-f0c6cebd73410c711ff2fc1167f7bded692dad1e.tar.gz |
SERVER-10794 Maintain backwards-compatible form of addUser for one more release
Diffstat (limited to 'jstests/auth/readIndex.js')
-rw-r--r-- | jstests/auth/readIndex.js | 4 |
1 files changed, 2 insertions, 2 deletions
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}); |