summaryrefslogtreecommitdiff
path: root/jstests/ssl/disable_x509.js
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2016-05-28 17:55:12 -0400
committerMark Benvenuto <mark.benvenuto@mongodb.com>2016-05-28 17:55:12 -0400
commit6dcdd23dd37ef12c87e71cf59ef01cd82432efe0 (patch)
treec8cfb5acb62c80f375bc37e7d4350382deea6a37 /jstests/ssl/disable_x509.js
parentd4ac5673ea3f6cef4ce9dbcec90e31813997a528 (diff)
downloadmongo-6dcdd23dd37ef12c87e71cf59ef01cd82432efe0.tar.gz
SERVER-23971 Clang-Format code
Diffstat (limited to 'jstests/ssl/disable_x509.js')
-rw-r--r--jstests/ssl/disable_x509.js9
1 files changed, 6 insertions, 3 deletions
diff --git a/jstests/ssl/disable_x509.js b/jstests/ssl/disable_x509.js
index 5663f6a6196..c386b84c591 100644
--- a/jstests/ssl/disable_x509.js
+++ b/jstests/ssl/disable_x509.js
@@ -29,9 +29,12 @@ if (cmdOut.ok) {
});
// Localhost exception should not be in place anymore
- assert.throws(function() {
- test.foo.findOne();
- }, {}, "read without login");
+ assert.throws(
+ function() {
+ test.foo.findOne();
+ },
+ {},
+ "read without login");
assert(external.auth({user: CLIENT_USER, mechanism: 'MONGODB-X509'}),
"authentication with valid user failed");