Skip to content

Commit

Permalink
specify cloud for test clients
Browse files Browse the repository at this point in the history
  • Loading branch information
chlowell committed Oct 8, 2024
1 parent 8c4b12d commit cf51e8b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sdk/containers/azcontainerregistry/utils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ func getEndpointCredAndClientOptions(t *testing.T) (string, azcore.TokenCredenti
transport, err := recording.NewRecordingHTTPClient(t, nil)
require.NoError(t, err)
options := azcore.ClientOptions{
Cloud: testConfig.cloud,
Transport: transport,
}
return "https://" + testConfig.loginServer, testConfig.credential, options
Expand Down

0 comments on commit cf51e8b

Please sign in to comment.