Skip to content

Commit 77c83d0

Browse files
Fix misspelling
Co-authored-by: DavoudEshtehari <61173489+DavoudEshtehari@users.noreply.github.com>
1 parent 133b4cd commit 77c83d0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Microsoft.Data.SqlClient/tests/ManualTests/DataCommon/SqlClientCustomTokenCredential.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,9 @@ public static async Task<AccessToken> AzureActiveDirectoryAuthenticationCallback
102102
cts.CancelAfter(30000); // Hard coded for tests
103103
string[] scopes = new string[] { resource + DEFAULT_PREFIX };
104104
TokenRequestContext tokenRequestContext = new(scopes);
105-
int seperatorIndex = authority.LastIndexOf('/');
106-
string authorityHost = authority.Remove(seperatorIndex + 1);
107-
string audience = authority.Substring(seperatorIndex + 1);
105+
int separatorIndex = authority.LastIndexOf('/');
106+
string authorityHost = authority.Remove(separatorIndex + 1);
107+
string audience = authority.Substring(separatorIndex + 1);
108108
TokenCredentialOptions tokenCredentialOptions = new TokenCredentialOptions() { AuthorityHost = new Uri(authorityHost) };
109109
ClientSecretCredential clientSecretCredential = s_clientSecretCredentials.GetOrAdd(authority + "|--|" + resource,
110110
new ClientSecretCredential(audience, DataTestUtility.AKVClientId, DataTestUtility.AKVClientSecret, tokenCredentialOptions));

0 commit comments

Comments
 (0)