Skip to content

Commit

Permalink
rename checks to basicChecks
Browse files Browse the repository at this point in the history
  • Loading branch information
lantoli committed Apr 1, 2024
1 parent f4d23f7 commit d1b545b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Expand Up @@ -23,7 +23,7 @@ func TestMigBackupCompliancePolicy_basic(t *testing.T) {
{
ExternalProviders: mig.ExternalProviders(),
Config: config,
Check: resource.ComposeTestCheckFunc(checks()...),
Check: resource.ComposeTestCheckFunc(basicChecks()...),
},
mig.TestStepCheckEmptyPlan(config),
},
Expand Down
Expand Up @@ -31,7 +31,7 @@ func TestAccBackupCompliancePolicy_basic(t *testing.T) {
Steps: []resource.TestStep{
{
Config: configBasic(projectName, orgID, projectOwnerID),
Check: resource.ComposeTestCheckFunc(checks()...),
Check: resource.ComposeTestCheckFunc(basicChecks()...),
},
{
ResourceName: resourceName,
Expand Down Expand Up @@ -414,7 +414,7 @@ func configClusterWithBackupSchedule(projectName, orgID, projectOwnerID string)
`
}

func checks() []resource.TestCheckFunc {
func basicChecks() []resource.TestCheckFunc {
commonChecks := map[string]string{
"copy_protection_enabled": "false",
"encryption_at_rest_enabled": "false",
Expand Down

0 comments on commit d1b545b

Please sign in to comment.