File tree Expand file tree Collapse file tree 1 file changed +2
-11
lines changed
3-Authorization-II/2-call-api-b2c/API/TodoListAPI.Tests Expand file tree Collapse file tree 1 file changed +2
-11
lines changed Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ public static IConfiguration InitConfiguration()
1616 }
1717
1818 [ Fact ]
19- public void ShouldNotContainClientId ( )
19+ public void ShouldContainClientId ( )
2020 {
2121 var myConfiguration = ConfigurationTests . InitConfiguration ( ) ;
2222 var clientId = myConfiguration . GetSection ( "AzureAd" ) [ "ClientId" ] ;
@@ -25,16 +25,7 @@ public void ShouldNotContainClientId()
2525 }
2626
2727 [ Fact ]
28- public void ShouldNotContainTenantId ( )
29- {
30- var myConfiguration = ConfigurationTests . InitConfiguration ( ) ;
31- var tenantId = myConfiguration . GetSection ( "AzureAd" ) [ "TenantId" ] ;
32-
33- Assert . True ( Guid . TryParse ( tenantId , out var theGuid ) ) ;
34- }
35-
36- [ Fact ]
37- public void ShouldNotContainDomain ( )
28+ public void ShouldContainDomain ( )
3829 {
3930 var myConfiguration = ConfigurationTests . InitConfiguration ( ) ;
4031 var domain = $ "https://{ myConfiguration . GetSection ( "AzureAd" ) [ "Domain" ] } ";
You can’t perform that action at this time.
0 commit comments