summaryrefslogtreecommitdiff
path: root/jstests/profile3.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/profile3.js')
-rw-r--r--jstests/profile3.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/profile3.js b/jstests/profile3.js
index 538bb2ece5d..a7072be235c 100644
--- a/jstests/profile3.js
+++ b/jstests/profile3.js
@@ -16,7 +16,7 @@ profileCursor = function( query ) {
try {
username = "jstests_profile3_user";
- db.addUser({user: username, pwd: "password", roles: jsTest.basicUserRoles});
+ db.createUser({user: username, pwd: "password", roles: jsTest.basicUserRoles});
db.auth( username, "password" );
db.setProfilingLevel(0);