Skip to content

Commit

Permalink
Update mongodb-connectionoptions-test.js
Browse files Browse the repository at this point in the history
  • Loading branch information
AlvaroVega authored Dec 16, 2024
1 parent 406d8d7 commit 144d568
Showing 1 changed file with 0 additions and 30 deletions.
30 changes: 0 additions & 30 deletions test/unit/mongodb/mongodb-connectionoptions-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -86,8 +86,6 @@ describe('dbConn.configureDb', function () {
expected: {
url: 'mongodb://example.com:98765/' + dbConn.DEFAULT_DB_NAME,
options: {
// useNewUrlParser: true,
// useUnifiedTopology: true
}
}
},
Expand All @@ -99,8 +97,6 @@ describe('dbConn.configureDb', function () {
expected: {
url: 'mongodb://example.com:27017/examples',
options: {
// useNewUrlParser: true,
// useUnifiedTopology: true
}
}
},
Expand All @@ -113,8 +109,6 @@ describe('dbConn.configureDb', function () {
url: 'mongodb://example.com:27017/' + dbConn.DEFAULT_DB_NAME,
options: {
replicaSet: 'rs0'
// useNewUrlParser: true,
// useUnifiedTopology: true
}
}
},
Expand All @@ -126,8 +120,6 @@ describe('dbConn.configureDb', function () {
expected: {
url: 'mongodb://example.com:27017/' + dbConn.DEFAULT_DB_NAME,
options: {
// useNewUrlParser: true,
// useUnifiedTopology: true
}
}
},
Expand All @@ -139,8 +131,6 @@ describe('dbConn.configureDb', function () {
expected: {
url: 'mongodb://example.com:27017/' + dbConn.DEFAULT_DB_NAME,
options: {
// useNewUrlParser: true,
// useUnifiedTopology: true
}
}
},
Expand All @@ -157,8 +147,6 @@ describe('dbConn.configureDb', function () {
user: 'user01',
password: 'pass01'
}
// useNewUrlParser: true,
// useUnifiedTopology: true
}
}
},
Expand All @@ -170,8 +158,6 @@ describe('dbConn.configureDb', function () {
expected: {
url: 'mongodb://example.com:27017/' + dbConn.DEFAULT_DB_NAME,
options: {
// useNewUrlParser: true,
// useUnifiedTopology: true
}
}
},
Expand All @@ -193,8 +179,6 @@ describe('dbConn.configureDb', function () {
user: 'user01',
password: 'pass01'
}
// useNewUrlParser: true,
// useUnifiedTopology: true
}
}
},
Expand All @@ -207,8 +191,6 @@ describe('dbConn.configureDb', function () {
url: 'mongodb://example.com:27017/' + dbConn.DEFAULT_DB_NAME,
options: {
ssl: true
// useNewUrlParser: true,
// useUnifiedTopology: true
}
}
},
Expand All @@ -222,8 +204,6 @@ describe('dbConn.configureDb', function () {
expected: {
url: 'mongodb://example.com:27017/' + dbConn.DEFAULT_DB_NAME + '?retryWrites=true',
options: {
// useNewUrlParser: true,
// useUnifiedTopology: true
}
}
},
Expand All @@ -241,8 +221,6 @@ describe('dbConn.configureDb', function () {
dbConn.DEFAULT_DB_NAME +
'?retryWrites=true&readPreference=nearest',
options: {
// useNewUrlParser: true,
// useUnifiedTopology: true
}
}
},
Expand All @@ -254,8 +232,6 @@ describe('dbConn.configureDb', function () {
expected: {
url: 'mongodb://example.com:27017/' + dbConn.DEFAULT_DB_NAME,
options: {
// useNewUrlParser: true,
// useUnifiedTopology: true
}
}
},
Expand All @@ -267,8 +243,6 @@ describe('dbConn.configureDb', function () {
expected: {
url: 'mongodb://example.com:27017/' + dbConn.DEFAULT_DB_NAME,
options: {
// useNewUrlParser: true,
// useUnifiedTopology: true
}
}
},
Expand All @@ -280,8 +254,6 @@ describe('dbConn.configureDb', function () {
expected: {
url: 'mongodb://example.com:27017/' + dbConn.DEFAULT_DB_NAME,
options: {
// useNewUrlParser: true,
// useUnifiedTopology: true
}
}
},
Expand Down Expand Up @@ -311,8 +283,6 @@ describe('dbConn.configureDb', function () {
password: 'pass01'
},
ssl: true
// useNewUrlParser: true,
// useUnifiedTopology: true
}
}
}
Expand Down

0 comments on commit 144d568

Please sign in to comment.