diff --git a/packages/mongo/src/index.js b/packages/mongo/src/index.js index e0d6aef..c54a44a 100644 --- a/packages/mongo/src/index.js +++ b/packages/mongo/src/index.js @@ -30,8 +30,7 @@ class KeyvMongo extends EventEmitter { this.options.mongoOptions = Object.assign( { useNewUrlParser: true, - useUnifiedTopology: true, - tls: true + useUnifiedTopology: true }, this.options.mongoOptions ) diff --git a/packages/mongo/test/index.js b/packages/mongo/test/index.js index ca64c01..6cf247a 100644 --- a/packages/mongo/test/index.js +++ b/packages/mongo/test/index.js @@ -16,8 +16,7 @@ test('Collection option merges into default options', t => { url: 'mongodb://127.0.0.1:27017', mongoOptions: { useNewUrlParser: true, - useUnifiedTopology: true, - tls: true + useUnifiedTopology: true }, collection: 'foo', emitErrors: true @@ -30,8 +29,7 @@ test('Collection option merges into default options if URL is passed', t => { url: mongoURL, mongoOptions: { useNewUrlParser: true, - useUnifiedTopology: true, - tls: true + useUnifiedTopology: true }, collection: 'foo', emitErrors: true