summaryrefslogtreecommitdiff
path: root/jstests/auth
diff options
context:
space:
mode:
authorSara Golemon <sara.golemon@mongodb.com>2020-08-11 19:22:21 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-09-02 15:19:57 +0000
commitee0d4ce5c3503e8d8dfebac39a07242fddae0d18 (patch)
tree62c02c0602a107f13076eb448d7ffe3b26a0762a /jstests/auth
parent5668e02f92d5253da875856d151d0241a334bb31 (diff)
downloadmongo-ee0d4ce5c3503e8d8dfebac39a07242fddae0d18.tar.gz
SERVER-50292 Refactor user acuisition via externalState
Diffstat (limited to 'jstests/auth')
-rw-r--r--jstests/auth/role_management_commands_edge_cases.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/auth/role_management_commands_edge_cases.js b/jstests/auth/role_management_commands_edge_cases.js
index 9ec4ca77461..754375ef3a7 100644
--- a/jstests/auth/role_management_commands_edge_cases.js
+++ b/jstests/auth/role_management_commands_edge_cases.js
@@ -120,7 +120,7 @@ function runTest(conn) {
// Try to create role containing itself in its roles array
assert.throws(function() {
- db.createRole({role: 'role17', roles: ['role10'], privileges: []});
+ db.createRole({role: 'role17', roles: ['role17'], privileges: []});
});
assert.eq(3, db.getRoles().length);