Skip to content

fix(enterprise-teams): update tests — use testResourcePrefix and ConfigStateChecks #69

@vmvarela

Description

@vmvarela

Description

Reviewer feedback:

  • Use testResourcePrefix for all resource names in acceptance test configs
  • Replace Check: with ConfigStateChecks: in all TestStep blocks
  • Use resource.TestCase{PreCheck: ..., ProviderFactories: ...} directly (not the old testCase helper pattern)

Acceptance Criteria

  • All resource/data source names in test HCL configs prefixed with testResourcePrefix
  • All Check: resource.ComposeTestCheckFunc(...) replaced with ConfigStateChecks: []statecheck.StateCheck{...}
  • Test structure uses resource.TestCase{...} directly
  • make build passes (acceptance tests don't need to run locally)

Notes

Upstream PR: integrations#3008

Metadata

Metadata

Assignees

No one assigned

    Labels

    enterprise-teamsRelated to the enterprise-teams feature branchpriority:mediumShould be done soonsize:sSmall — 1 to 4 hoursstatus:readyRefined and ready for sprint selectiontype:bugSomething isn't working

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions