@@ -146,7 +146,7 @@ func TestNewAuthProvider(t *testing.T) {
146146 assert .Equal (t , testTenantID , tenantID )
147147 assert .Equal (t , testAADClientID , clientID )
148148 assert .Equal (t , testAADClientSecret , clientSecret )
149- assert .Equal (t , testCloudConfig , options .ClientOptions . Cloud )
149+ assert .Equal (t , testCloudConfig , options .Cloud )
150150 return testFakeComputeTokenCredential , nil
151151 }
152152 },
@@ -181,7 +181,7 @@ func TestNewAuthProvider(t *testing.T) {
181181 option .NewClientCertificateCredentialFn = func (tenantID , clientID string , _ []* x509.Certificate , _ crypto.PrivateKey , options * azidentity.ClientCertificateCredentialOptions ) (azcore.TokenCredential , error ) {
182182 assert .Equal (t , testTenantID , tenantID )
183183 assert .Equal (t , testAADClientID , clientID )
184- assert .Equal (t , testCloudConfig , options .ClientOptions . Cloud )
184+ assert .Equal (t , testCloudConfig , options .Cloud )
185185 return testFakeComputeTokenCredential , nil
186186 }
187187 },
@@ -227,7 +227,7 @@ func TestNewAuthProvider(t *testing.T) {
227227 assert .Equal (t , testTenantID , tenantID )
228228 assert .Equal (t , testAADClientID , clientID )
229229 assert .Equal (t , testAADClientSecret , clientSecret )
230- assert .Equal (t , testCloudConfig , options .ClientOptions . Cloud )
230+ assert .Equal (t , testCloudConfig , options .Cloud )
231231 return testFakeComputeTokenCredential , nil
232232 }
233233 },
@@ -257,14 +257,14 @@ func TestNewAuthProvider(t *testing.T) {
257257 assert .Equal (t , testNetworkTenantID , tenantID )
258258 assert .Equal (t , testAADClientID , clientID )
259259 assert .Equal (t , testAADClientSecret , clientSecret )
260- assert .Equal (t , testCloudConfig , options .ClientOptions . Cloud )
260+ assert .Equal (t , testCloudConfig , options .Cloud )
261261 return testFakeNetworkTokenCredential , nil
262262 }
263263
264264 assert .Equal (t , testTenantID , tenantID )
265265 assert .Equal (t , testAADClientID , clientID )
266266 assert .Equal (t , testAADClientSecret , clientSecret )
267- assert .Equal (t , testCloudConfig , options .ClientOptions . Cloud )
267+ assert .Equal (t , testCloudConfig , options .Cloud )
268268 return testFakeComputeTokenCredential , nil
269269 }
270270 },
0 commit comments