Skip to content

Commit

Permalink
test(connection): more #8209 test cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
vkarpov15 committed Oct 16, 2019
1 parent e93501e commit be5e1fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/connection.test.js
Expand Up @@ -434,7 +434,7 @@ describe('connections:', function() {
});

it('should accept mongodb://aaron:psw@localhost:27017/fake', function(done) {
const opts = { useNewUrlParser: true };
const opts = { useNewUrlParser: true, useUnifiedTopology: false };
const db = mongoose.createConnection('mongodb://aaron:psw@localhost:27017/fake', opts, () => {
db.close(done);
});
Expand Down

0 comments on commit be5e1fa

Please sign in to comment.