File tree Expand file tree Collapse file tree 1 file changed +2
-9
lines changed
Expand file tree Collapse file tree 1 file changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -479,15 +479,8 @@ describe('MONGODB-AWS', function () {
479479 it ( 'fetching AWS KMS credentials throws an error' , async function ( ) {
480480 const result = await refreshKMSCredentials ( { aws : { } } ) . catch ( e => e ) ;
481481
482- // TODO(NODE-7046): Remove branch when removing support for AWS credentials in URI.
483- // The drivers tools scripts put the credentials in the URI currently for some environments,
484- // this will need to change when doing the DRIVERS-3131 work.
485- if ( ! client . options . credentials . username ) {
486- expect ( result ) . to . be . instanceof ( MongoAWSError ) ;
487- expect ( result . message ) . to . match ( / c r e d e n t i a l - p r o v i d e r s / ) ;
488- } else {
489- expect ( result ) . to . equal ( 0 ) ;
490- }
482+ expect ( result ) . to . be . instanceof ( MongoAWSError ) ;
483+ expect ( result . message ) . to . match ( / c r e d e n t i a l - p r o v i d e r s / ) ;
491484 } ) ;
492485 } ) ;
493486
You can’t perform that action at this time.
0 commit comments