Skip to content

Commit

Permalink
test: fix collation tests
Browse files Browse the repository at this point in the history
  • Loading branch information
durran committed Oct 28, 2021
1 parent 6484982 commit 4aa0e94
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions test/functional/collations.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ describe('Collation', function () {
test: function () {
const configuration = this.configuration;
const client = configuration.newClient(`mongodb://${testContext.server.uri()}/test`);
const primary = [Object.assign({}, mock.DEFAULT_ISMASTER)];
const primary = [Object.assign({}, mock.DEFAULT_ISMASTER_36)];

let commandResult;
testContext.server.setMessageHandler(request => {
Expand Down Expand Up @@ -57,7 +57,7 @@ describe('Collation', function () {
test: function () {
const configuration = this.configuration;
const client = configuration.newClient(`mongodb://${testContext.server.uri()}/test`);
const primary = [Object.assign({}, mock.DEFAULT_ISMASTER)];
const primary = [Object.assign({}, mock.DEFAULT_ISMASTER_36)];

let commandResult;
testContext.server.setMessageHandler(request => {
Expand Down Expand Up @@ -95,7 +95,7 @@ describe('Collation', function () {
test: function () {
const configuration = this.configuration;
const client = configuration.newClient(`mongodb://${testContext.server.uri()}/test`);
const primary = [Object.assign({}, mock.DEFAULT_ISMASTER)];
const primary = [Object.assign({}, mock.DEFAULT_ISMASTER_36)];

let commandResult;
testContext.server.setMessageHandler(request => {
Expand Down Expand Up @@ -131,7 +131,7 @@ describe('Collation', function () {
test: function () {
const configuration = this.configuration;
const client = configuration.newClient(`mongodb://${testContext.server.uri()}/test`);
const primary = [Object.assign({}, mock.DEFAULT_ISMASTER)];
const primary = [Object.assign({}, mock.DEFAULT_ISMASTER_36)];

let commandResult;
testContext.server.setMessageHandler(request => {
Expand Down Expand Up @@ -172,7 +172,7 @@ describe('Collation', function () {
test: function () {
const configuration = this.configuration;
const client = configuration.newClient(`mongodb://${testContext.server.uri()}/test`);
const primary = [Object.assign({}, mock.DEFAULT_ISMASTER)];
const primary = [Object.assign({}, mock.DEFAULT_ISMASTER_36)];

let commandResult;
testContext.server.setMessageHandler(request => {
Expand Down Expand Up @@ -208,7 +208,7 @@ describe('Collation', function () {
test: function () {
const configuration = this.configuration;
const client = configuration.newClient(`mongodb://${testContext.server.uri()}/test`);
const primary = [Object.assign({}, mock.DEFAULT_ISMASTER)];
const primary = [Object.assign({}, mock.DEFAULT_ISMASTER_36)];

let commandResult;
testContext.server.setMessageHandler(request => {
Expand Down Expand Up @@ -246,7 +246,7 @@ describe('Collation', function () {
test: function () {
const configuration = this.configuration;
const client = configuration.newClient(`mongodb://${testContext.server.uri()}/test`);
const primary = [Object.assign({}, mock.DEFAULT_ISMASTER)];
const primary = [Object.assign({}, mock.DEFAULT_ISMASTER_36)];

let commandResult;
testContext.server.setMessageHandler(request => {
Expand Down Expand Up @@ -282,7 +282,7 @@ describe('Collation', function () {
test: function () {
const configuration = this.configuration;
const client = configuration.newClient(`mongodb://${testContext.server.uri()}/test`);
const primary = [Object.assign({}, mock.DEFAULT_ISMASTER)];
const primary = [Object.assign({}, mock.DEFAULT_ISMASTER_36)];

let commandResult;
testContext.server.setMessageHandler(request => {
Expand Down Expand Up @@ -320,7 +320,7 @@ describe('Collation', function () {
test: function () {
const configuration = this.configuration;
const client = configuration.newClient(`mongodb://${testContext.server.uri()}/test`);
const primary = [Object.assign({}, mock.DEFAULT_ISMASTER)];
const primary = [Object.assign({}, mock.DEFAULT_ISMASTER_36)];

let commandResult;
testContext.server.setMessageHandler(request => {
Expand Down Expand Up @@ -356,7 +356,7 @@ describe('Collation', function () {
test: function () {
const configuration = this.configuration;
const client = configuration.newClient(`mongodb://${testContext.server.uri()}/test`);
const primary = [Object.assign({}, mock.DEFAULT_ISMASTER)];
const primary = [Object.assign({}, mock.DEFAULT_ISMASTER_36)];

let commandResult;
testContext.server.setMessageHandler(request => {
Expand Down Expand Up @@ -469,7 +469,7 @@ describe('Collation', function () {
test: function () {
const configuration = this.configuration;
const client = configuration.newClient(`mongodb://${testContext.server.uri()}/test`);
const primary = [Object.assign({}, mock.DEFAULT_ISMASTER)];
const primary = [Object.assign({}, mock.DEFAULT_ISMASTER_36)];

let commandResult;
testContext.server.setMessageHandler(request => {
Expand Down Expand Up @@ -624,7 +624,7 @@ describe('Collation', function () {
test: function () {
const configuration = this.configuration;
const client = configuration.newClient(`mongodb://${testContext.server.uri()}/test`);
const primary = [Object.assign({}, mock.DEFAULT_ISMASTER)];
const primary = [Object.assign({}, mock.DEFAULT_ISMASTER_36)];

let commandResult;
testContext.server.setMessageHandler(request => {
Expand Down

0 comments on commit 4aa0e94

Please sign in to comment.