Skip to content

Commit

Permalink
Merge branch 'lorrrrrrrenzo/update-resourcePagerDutyTeamMembershipDel…
Browse files Browse the repository at this point in the history
…ete' of github-lorenzo:lorrrrrrrenzo/terraform-provider-pagerduty into lorrrrrrrenzo/update-resourcePagerDutyTeamMembershipDelete
  • Loading branch information
Lorenzo Davis committed Jul 5, 2024
2 parents 50f96ba + b996c38 commit d379233
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pagerdutyplugin/resource_pagerduty_team_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,10 @@ func testAccCheckPagerDutyTeamDestroy(s *terraform.State) error {
return nil
}

// major problem: this just pull a random resource.
// it goes through all the resources in the map. when it eventually fails it just returns the last (or first?) element
// since this is an acceptance test, this never runs on pull requests
// all acceptance tests are private
func testAccCheckPagerDutyTeamExists(n string) resource.TestCheckFunc {
return func(s *terraform.State) error {
client, _ := testAccProvider.Meta().(*Config).Client()
Expand Down

0 comments on commit d379233

Please sign in to comment.