Skip to content

Commit

Permalink
Fix tests for false only_invocable_on_unresolved_incidents of automat…
Browse files Browse the repository at this point in the history
…ion actions
  • Loading branch information
cjgajard committed Nov 13, 2024
1 parent 2482d66 commit dc52cb3
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ func TestAccPagerDutyAutomationActionsActionTypeScript_Basic(t *testing.T) {
resource.TestCheckResourceAttrSet("pagerduty_automation_actions_action.foo", "modify_time"),
resource.TestCheckNoResourceAttr("pagerduty_automation_actions_action.foo", "runner_type"),
resource.TestCheckNoResourceAttr("pagerduty_automation_actions_action.foo", "runner_id"),
resource.TestCheckNoResourceAttr("pagerduty_automation_actions_action.foo", "only_invocable_on_unresolved_incidents"),
resource.TestCheckResourceAttr("pagerduty_automation_actions_action.foo", "only_invocable_on_unresolved_incidents", "false"),
),
},
{
Expand All @@ -155,7 +155,7 @@ func TestAccPagerDutyAutomationActionsActionTypeScript_Basic(t *testing.T) {
resource.TestCheckResourceAttrSet("pagerduty_automation_actions_action.foo", "modify_time"),
resource.TestCheckNoResourceAttr("pagerduty_automation_actions_action.foo", "runner_type"),
resource.TestCheckNoResourceAttr("pagerduty_automation_actions_action.foo", "runner_id"),
resource.TestCheckNoResourceAttr("pagerduty_automation_actions_action.foo", "only_invocable_on_unresolved_incidents"),
resource.TestCheckResourceAttr("pagerduty_automation_actions_action.foo", "only_invocable_on_unresolved_incidents", "false"),
),
},
},
Expand Down Expand Up @@ -243,7 +243,8 @@ resource "pagerduty_automation_actions_action" "foo" {
runner_id = pagerduty_automation_actions_runner.foo_runner.id
action_data_reference {
process_automation_job_id = "updated_pa_job_id_123"
}
}
only_invocable_on_unresolved_incidents = "false"
}
`, previousActionName, actionName, actionDescription, actionClassification)
}
Expand Down

0 comments on commit dc52cb3

Please sign in to comment.