@@ -189,7 +189,7 @@ public async Task RespectsTaskHubNameFromHostJson()
189189 await File . WriteAllTextAsync ( "../host.json" , $ "{{\" extensions\" :{{\" durableTask\" : {{\" hubName\" : \" { hubName } \" }}}}}}") ;
190190
191191 // Act
192- var task = Auth . ValidateIdentityAsync ( request , OperationKind . Read , new DfmSettings ( ) , new DfmExtensionPoints ( ) ) ;
192+ var task = Auth . ValidateIdentityAsync ( request , OperationKind . Read , new DfmSettings ( ) ) ;
193193
194194 // Assert
195195
@@ -222,7 +222,7 @@ public async Task RespectsTaskHubNameEnvVariableFromHostJson()
222222
223223 // Act
224224
225- var task = Auth . ValidateIdentityAsync ( request , OperationKind . Read , new DfmSettings ( ) , new DfmExtensionPoints ( ) ) ;
225+ var task = Auth . ValidateIdentityAsync ( request , OperationKind . Read , new DfmSettings ( ) ) ;
226226
227227 // Assert
228228
@@ -256,7 +256,7 @@ public void ReturnsUnauthorizedResultIfUserNotWhitelisted()
256256 } , "tino-test-auth-type" ) ) ;
257257
258258 // Act
259- var task = Auth . ValidateIdentityAsync ( request , OperationKind . Read , new DfmSettings ( ) , new DfmExtensionPoints ( ) ) ;
259+ var task = Auth . ValidateIdentityAsync ( request , OperationKind . Read , new DfmSettings ( ) ) ;
260260
261261 // Assert
262262 Assert . IsInstanceOfType ( task . Exception . InnerException , typeof ( DfmUnauthorizedException ) ) ;
@@ -294,7 +294,7 @@ public void ReturnsUnauthorizedResultIfUserIsNotInAppRole(string appRoles, strin
294294
295295 // Act
296296
297- var task = Auth . ValidateIdentityAsync ( request , OperationKind . Read , new DfmSettings ( ) , new DfmExtensionPoints ( ) ) ;
297+ var task = Auth . ValidateIdentityAsync ( request , OperationKind . Read , new DfmSettings ( ) ) ;
298298
299299 // Assert
300300
@@ -336,7 +336,7 @@ public async Task ReturnsAuthorizedIfUserIsInAppRole(string appRoles, string ful
336336
337337 // Act
338338
339- var result = await Auth . ValidateIdentityAsync ( request , OperationKind . Read , new DfmSettings ( ) , new DfmExtensionPoints ( ) ) ;
339+ var result = await Auth . ValidateIdentityAsync ( request , OperationKind . Read , new DfmSettings ( ) ) ;
340340
341341 // Assert
342342
@@ -400,7 +400,7 @@ public async Task ValidatesTokenWithoutEasyAuthsHelp()
400400 request . Headers . Add ( "Authorization" , "Bearer " + token ) ;
401401
402402 // Act
403- var result = await Auth . ValidateIdentityAsync ( request , OperationKind . Read , new DfmSettings ( ) , new DfmExtensionPoints ( ) ) ;
403+ var result = await Auth . ValidateIdentityAsync ( request , OperationKind . Read , new DfmSettings ( ) ) ;
404404
405405 // Assert
406406 Assert . AreEqual ( DfmMode . Normal , result ) ;
@@ -431,13 +431,13 @@ public async Task LoadsListOfTablesFromTableStorage()
431431
432432 // Act
433433
434- // Now initializing TableClient
435- TableClient . MockedTableClient = tableClientMoq . Object ;
436-
437- var task = Auth . ThrowIfUriTaskHubNameIsInvalid ( request . Url . ToString ( ) , new DfmExtensionPoints ( ) ) ;
438- Thread . Sleep ( 100 ) ;
439- task = Auth . ThrowIfUriTaskHubNameIsInvalid ( request . Url . ToString ( ) , new DfmExtensionPoints ( ) ) ;
440-
434+ // Now initializing TableClient
435+ TableClient . MockedTableClient = tableClientMoq . Object ;
436+
437+ var task = Auth . ThrowIfUriTaskHubNameIsInvalid ( request . Url . ToString ( ) , new DfmExtensionPoints ( ) ) ;
438+ Thread . Sleep ( 100 ) ;
439+ task = Auth . ThrowIfUriTaskHubNameIsInvalid ( request . Url . ToString ( ) , new DfmExtensionPoints ( ) ) ;
440+
441441 TableClient . MockedTableClient = null ;
442442
443443 Assert . IsInstanceOfType ( task . Exception . InnerException , typeof ( DfmUnauthorizedException ) ) ;
@@ -480,7 +480,7 @@ public void LoadsListOfTablesFromAlternativeStorage()
480480
481481 // Act
482482
483- var task = Auth . ValidateIdentityAsync ( request , OperationKind . Read , new DfmSettings ( ) , new DfmExtensionPoints ( ) ) ;
483+ var task = Auth . ValidateIdentityAsync ( request , OperationKind . Read , new DfmSettings ( ) ) ;
484484
485485 // Assert
486486
0 commit comments