From e25006281a9efdaf2cc729d6a4853ca3ad6bf1d5 Mon Sep 17 00:00:00 2001 From: vagrawal-newrelic Date: Fri, 25 Oct 2024 14:00:11 +0530 Subject: [PATCH] fix(azure link account): update diabled to pointer type in unit test --- pkg/cloud/cloud_api_unit_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkg/cloud/cloud_api_unit_test.go b/pkg/cloud/cloud_api_unit_test.go index 5e48f137..8aed06f3 100644 --- a/pkg/cloud/cloud_api_unit_test.go +++ b/pkg/cloud/cloud_api_unit_test.go @@ -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",