Skip to content

Commit

Permalink
update test
Browse files Browse the repository at this point in the history
  • Loading branch information
luke-taylor committed Nov 27, 2023
1 parent 1ab928e commit 1e02501
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions tests/subscription/subscriptionDeploy_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import (
)

var billingScope = os.Getenv("AZURE_BILLING_SCOPE")
var tenantId = os.Getenv("AZURE_TENANT_ID")

// TestDeploySubscriptionAliasValid tests the deployment of a subscription alias
// with valid input variables.
Expand Down Expand Up @@ -180,10 +179,6 @@ func TestDeploySubscriptionAliasManagementGroupValidAzApi(t *testing.T) {

err = azureutils.IsSubscriptionInManagementGroup(t, u, v["subscription_management_group_id"].(string))
assert.NoErrorf(t, err, "subscription %s is not in management group %s", sid, v["subscription_management_group_id"].(string))

if err := azureutils.SetSubscriptionManagementGroup(u, tenantId); err != nil {
t.Logf("cannot move subscription to tenant root group: %v", err)
}
}

// getValidInputVariables returns a set of valid input variables that can be used and modified for testing scenarios.
Expand Down

0 comments on commit 1e02501

Please sign in to comment.