Skip to content

Commit 4b75069

Browse files
chore: remove calls to connect && pass in bson library
1 parent 6f354ee commit 4b75069

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

test/integration/client-side-encryption/client_side_encryption.prose.test.js

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2081,9 +2081,9 @@ describe('Client Side Encryption Prose Tests', metadata, function () {
20812081
}
20822082
}
20832083

2084-
beforeEach(async function () {
2085-
client1 = await this.configuration.newClient().connect();
2086-
client2 = await this.configuration.newClient().connect();
2084+
beforeEach(function () {
2085+
client1 = this.configuration.newClient();
2086+
client2 = this.configuration.newClient();
20872087
});
20882088

20892089
afterEach(async function () {
@@ -2113,7 +2113,8 @@ describe('Client Side Encryption Prose Tests', metadata, function () {
21132113
tlsCAFile: process.env.KMIP_TLS_CA_FILE,
21142114
tlsCertificateKeyFile: process.env.KMIP_TLS_CERT_FILE
21152115
}
2116-
}
2116+
},
2117+
bson: BSON
21172118
}
21182119
);
21192120

@@ -2139,7 +2140,8 @@ describe('Client Side Encryption Prose Tests', metadata, function () {
21392140
tlsCAFile: process.env.KMIP_TLS_CA_FILE,
21402141
tlsCertificateKeyFile: process.env.KMIP_TLS_CERT_FILE
21412142
}
2142-
}
2143+
},
2144+
bson: BSON
21432145
}
21442146
);
21452147

0 commit comments

Comments
 (0)