Skip to content

Commit

Permalink
fix(azure link account): update diabled to pointer type in unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
vagrawal-newrelic committed Oct 25, 2024
1 parent 5b65587 commit e250062
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/cloud/cloud_api_unit_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -177,12 +177,13 @@ func TestUnitAzureLinkAccountUpdate(t *testing.T) {
azureUpdateAccountResponse := newMockResponse(t, testUpdateAzureLinkAccount, http.StatusOK)
NRAccountIDInt, _ := strconv.Atoi(nrAccountID)
linkedAccountIDInt, _ := strconv.Atoi(linkedAccountID)
disabled := false

updateAccountInput := CloudUpdateCloudAccountsInput{
Azure: []CloudAzureUpdateAccountInput{{
ApplicationID: "36840357-ac3e-4273-94f0-eccg108ff0e9",
ClientSecret: "gdsajysgda676t5ahgsdhafsdga67as",
Disabled: false,
Disabled: &disabled,
LinkedAccountId: linkedAccountIDInt,
Name: "TEST_AZURE_ACCOUNT-UPDATED",
SubscriptionId: "agjs-dha57-687hag-shgafshd-f79hh",
Expand Down

0 comments on commit e250062

Please sign in to comment.