Skip to content

Commit

Permalink
Fix TestRegisterBot_RemoteAddr
Browse files Browse the repository at this point in the history
  • Loading branch information
strideynet committed Oct 23, 2024
1 parent 17e05cb commit 3fbfad5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/auth/bot_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@ func TestRegisterBot_RemoteAddr(t *testing.T) {
pkey, err := x509.ParsePKCS1PrivateKey(block.Bytes)
require.NoError(t, err)

certs, err := a.RegisterUsingAzureMethod(context.Background(), func(challenge string) (*proto.RegisterUsingAzureMethodRequest, error) {
certs, err := a.RegisterUsingAzureMethodWithOpts(context.Background(), func(challenge string) (*proto.RegisterUsingAzureMethodRequest, error) {
ad := attestedData{
Nonce: challenge,
SubscriptionID: subID,
Expand Down

0 comments on commit 3fbfad5

Please sign in to comment.