@@ -306,7 +306,7 @@ describe('OIDC Auth Spec Tests', function () {
306306 // Close the client.
307307 beforeEach ( async function ( ) {
308308 client = getClient ( { appName } , callbackSpy ) ;
309- utilClient = getClient ( { appName } , createCallback ( ) ) ;
309+ utilClient = getClient ( { } , createCallback ( ) ) ;
310310 collection = client . db ( 'test' ) . collection ( 'test' ) ;
311311 await utilClient
312312 . db ( )
@@ -394,7 +394,7 @@ describe('OIDC Auth Spec Tests', function () {
394394 // Close the client.
395395 beforeEach ( async function ( ) {
396396 client = getClient ( { appName } , callbackSpy ) ;
397- utilClient = getClient ( { appName } , createCallback ( ) ) ;
397+ utilClient = getClient ( { } , createCallback ( ) ) ;
398398 collection = client . db ( 'test' ) . collection ( 'test' ) ;
399399 await utilClient
400400 . db ( )
@@ -453,7 +453,7 @@ describe('OIDC Auth Spec Tests', function () {
453453 // Close the client.
454454 beforeEach ( async function ( ) {
455455 client = getClient ( { promoteValues : false , appName } , callbackSpy ) ;
456- utilClient = getClient ( { promoteValues : false , appName } , createCallback ( ) ) ;
456+ utilClient = getClient ( { promoteValues : false } , createCallback ( ) ) ;
457457 collection = client . db ( 'test' ) . collection ( 'test' ) ;
458458 await utilClient
459459 . db ( )
@@ -659,7 +659,7 @@ describe('OIDC Auth Spec Tests', function () {
659659 // - Assert there were `SaslStart` commands executed.
660660 // - Close the client.
661661 beforeEach ( async function ( ) {
662- utilClient = getClient ( { appName } , createCallback ( ) ) ;
662+ utilClient = getClient ( { } , createCallback ( ) ) ;
663663 client = getClient ( { monitorCommands : true , appName } , callbackSpy ) ;
664664 client . on ( 'commandStarted' , event => {
665665 if ( event . commandName === 'saslStart' ) {
@@ -746,7 +746,7 @@ describe('OIDC Auth Spec Tests', function () {
746746 // Close the session and the client.
747747 beforeEach ( async function ( ) {
748748 client = getClient ( { appName } , callbackSpy ) ;
749- utilClient = getClient ( { appName } , createCallback ( ) ) ;
749+ utilClient = getClient ( { } , createCallback ( ) ) ;
750750 collection = client . db ( 'test' ) . collection ( 'test' ) ;
751751 await utilClient
752752 . db ( )
@@ -1283,8 +1283,7 @@ describe('OIDC Auth Spec Tests', function () {
12831283 authMechanismProperties : {
12841284 OIDC_HUMAN_CALLBACK : createCallback ( )
12851285 } ,
1286- retryReads : false ,
1287- appName
1286+ retryReads : false
12881287 } ) ;
12891288 collection = client . db ( 'test' ) . collection ( 'testHuman' ) ;
12901289 await utilClient
@@ -1374,8 +1373,7 @@ describe('OIDC Auth Spec Tests', function () {
13741373 authMechanismProperties : {
13751374 OIDC_HUMAN_CALLBACK : createCallback ( )
13761375 } ,
1377- retryReads : false ,
1378- appName
1376+ retryReads : false
13791377 } ) ;
13801378 collection = client . db ( 'test' ) . collection ( 'testHuman' ) ;
13811379 await collection . findOne ( ) ;
@@ -1460,8 +1458,7 @@ describe('OIDC Auth Spec Tests', function () {
14601458 authMechanismProperties : {
14611459 OIDC_HUMAN_CALLBACK : createCallback ( )
14621460 } ,
1463- retryReads : false ,
1464- appName
1461+ retryReads : false
14651462 } ) ;
14661463 collection = client . db ( 'test' ) . collection ( 'testHuman' ) ;
14671464 await collection . findOne ( ) ;
@@ -1543,8 +1540,7 @@ describe('OIDC Auth Spec Tests', function () {
15431540 authMechanismProperties : {
15441541 OIDC_HUMAN_CALLBACK : createCallback ( )
15451542 } ,
1546- retryReads : false ,
1547- appName
1543+ retryReads : false
15481544 } ) ;
15491545 collection = client . db ( 'test' ) . collection ( 'testHuman' ) ;
15501546 await collection . findOne ( ) ;
@@ -1634,8 +1630,7 @@ describe('OIDC Auth Spec Tests', function () {
16341630 authMechanismProperties : {
16351631 OIDC_HUMAN_CALLBACK : createCallback ( )
16361632 } ,
1637- retryReads : false ,
1638- appName
1633+ retryReads : false
16391634 } ) ;
16401635 collection = client . db ( 'test' ) . collection ( 'testHuman' ) ;
16411636 await collection . findOne ( ) ;
0 commit comments