Skip to content

Commit

Permalink
Merge branch 'NODE-3795/fix-no-authProvider-for-default-error' of git…
Browse files Browse the repository at this point in the history
…hub.com:mongodb/node-mongodb-native into NODE-3795/fix-no-authProvider-for-default-error
  • Loading branch information
nbbeeken committed Jan 20, 2022
2 parents d32dd00 + 5392813 commit 50e5386
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit/connection_string.test.ts
Expand Up @@ -101,7 +101,7 @@ describe('Connection String', function () {
expect(options).to.not.have.property('credentials');
});

it('should omit credentials and throw a non-MongoAPIError if the only auth related option is authSource', async () => {
it('should omit credentials and not throw a MongoAPIError if the only auth related option is authSource', async () => {
// The error we're looking to **not** see is
// `new MongoInvalidArgumentError('No AuthProvider for ${credentials.mechanism} defined.')`
// in `prepareHandshakeDocument` and/or `performInitialHandshake`.
Expand Down

0 comments on commit 50e5386

Please sign in to comment.