Skip to content

Commit edb9953

Browse files
committed
test: fix collation tests
1 parent 13c3b06 commit edb9953

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

test/functional/collations.test.js

+12-12
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ describe('Collation', function () {
2121
test: function () {
2222
const configuration = this.configuration;
2323
const client = configuration.newClient(`mongodb://${testContext.server.uri()}/test`);
24-
const primary = [Object.assign({}, mock.DEFAULT_ISMASTER)];
24+
const primary = [Object.assign({}, mock.DEFAULT_ISMASTER_36)];
2525

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

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

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

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

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

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

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

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

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

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

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

629629
let commandResult;
630630
testContext.server.setMessageHandler(request => {

0 commit comments

Comments
 (0)