Closed mattdot closed 1 month ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 76.26%. Comparing base (
e153201
) to head (4ffc078
). Report is 9 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This pull request introduces changes to the test files in the
internal/services/licensing
directory to ensure unique resource group names by appending a random number. The most important changes involve modifying the resource group names in various test functions and importing necessary packages.Test Function Updates:
internal/services/licensing/datasource_billing_policies_environments_test.go
: UpdatedTestAccBillingPoliciesEnvironmentsDataSource_Validate_Read
to append a random number to the resource group name usingstrconv.Itoa(rand.IntN(9999))
.internal/services/licensing/datasource_billing_policies_test.go
: UpdatedTestAccBillingPoliciesDataSource_Validate_Read
to append a random number to the resource group name.internal/services/licensing/resource_billing_policy_environment_test.go
: Updated several functions (TestAccBillingPolicyResourceEnvironment_Validate_Create
,TestAccBillingPolicyResourceEnvironment_Validate_Update
) to use a random number in the resource group name. [1] [2] [3] [4]internal/services/licensing/resource_billing_policy_test.go
: Updated multiple functions (TestAccBillingPolicyResource_Validate_Create
,TestAccBillingPolicy_Validate_Update
,TestAccBillingPolicy_Validate_Update_ForceRecreate
) to use a random number in the resource group name. [1] [2] [3] [4]Package Imports:
math/rand/v2
andstrconv
imports to several test files to facilitate the generation of random numbers for resource group names. [1] [2] [3] [4]