Skip to content

Commit

Permalink
update for recently merged azcore refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
chlowell committed Oct 21, 2021
1 parent 62e772d commit 92340f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdk/azidentity/azidentity_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ func defaultTestPipeline(srv policy.Transporter, cred azcore.TokenCredential, sc
MaxRetryDelay: 500 * time.Millisecond,
RetryDelay: 50 * time.Millisecond,
}
b := runtime.NewBearerTokenPolicy(cred, runtime.AuthenticationOptions{TokenRequest: policy.TokenRequestOptions{Scopes: []string{scope}}})
b := runtime.NewBearerTokenPolicy(cred, []string{scope}, nil)
return runtime.NewPipeline("azidentity-test", version, nil, []policy.Policy{b}, &azcore.ClientOptions{Retry: retryOpts, Transport: srv})
}

Expand Down

0 comments on commit 92340f8

Please sign in to comment.