Skip to content

Commit

Permalink
Merge pull request #883 from imjaroiswebdev/import-test-eo-patch
Browse files Browse the repository at this point in the history
Ignore import state verification for EO routing rules ids
  • Loading branch information
imjaroiswebdev authored Jun 14, 2024
2 parents 990b63d + df6b1f0 commit 29e6717
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ func TestAccPagerDutyEventOrchestrationPathRouter_import(t *testing.T) {
ImportStateIdFunc: testAccCheckPagerDutyEventOrchestrationPathRouterID,
ImportState: true,
ImportStateVerify: true,
ImportStateVerifyIgnore: []string{
"set.0.rule.0.id",
"set.0.rule.1.id",
},
},
},
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,11 @@ func TestAccPagerDutyEventOrchestrationPathService_import(t *testing.T) {
Config: testAccCheckPagerDutyEventOrchestrationPathServiceAllActionsConfig(escalationPolicy, service),
},
{
ResourceName: "pagerduty_event_orchestration_service.serviceA",
ImportStateIdFunc: testAccCheckPagerDutyEventOrchestrationPathServiceID,
ImportState: true,
ImportStateVerify: true,
ResourceName: "pagerduty_event_orchestration_service.serviceA",
ImportStateIdFunc: testAccCheckPagerDutyEventOrchestrationPathServiceID,
ImportState: true,
ImportStateVerify: true,
ImportStateVerifyIgnore: []string{"enable_event_orchestration_for_service"},
},
},
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ func TestAccPagerDutyEventOrchestrationPathUnrouted_import(t *testing.T) {
ImportStateIdFunc: testAccCheckPagerDutyEventOrchestrationPathUnroutedID,
ImportState: true,
ImportStateVerify: true,
ImportStateVerifyIgnore: []string{
"set.0.rule.0.id",
"set.1.rule.0.id",
"set.1.rule.1.id",
},
},
},
})
Expand Down

0 comments on commit 29e6717

Please sign in to comment.