summaryrefslogtreecommitdiff
path: root/jstests/ssl
diff options
context:
space:
mode:
authorSara Golemon <sara.golemon@mongodb.com>2018-05-22 12:55:28 -0400
committerSara Golemon <sara.golemon@mongodb.com>2018-05-28 09:58:35 -0400
commit8150b50f14579b6cbd673f12968726670f6e1b78 (patch)
tree0174e06c6035b5c9db868d95af770d36e1304ad9 /jstests/ssl
parent2e6989e2744726f66289aca955cbc661539b6814 (diff)
downloadmongo-8150b50f14579b6cbd673f12968726670f6e1b78.tar.gz
SERVER-35155 Fix x509_invalid.js test case typo
Diffstat (limited to 'jstests/ssl')
-rw-r--r--jstests/ssl/x509_invalid.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/ssl/x509_invalid.js b/jstests/ssl/x509_invalid.js
index 39605fa307c..25310603c50 100644
--- a/jstests/ssl/x509_invalid.js
+++ b/jstests/ssl/x509_invalid.js
@@ -12,7 +12,7 @@
function testClient(conn, cert, name, shouldSucceed) {
let auth = {mechanism: 'MONGODB-X509'};
if (name !== null) {
- auth.name = name;
+ auth.user = name;
}
const script = 'assert(db.getSiblingDB(\'$external\').auth(' + tojson(auth) + '));';
clearRawMongoProgramOutput();