Skip to content

Commit

Permalink
expect the correct fields
Browse files Browse the repository at this point in the history
  • Loading branch information
rorydbain committed Nov 1, 2024
1 parent f8daaef commit 3cd489c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions internal/provider/incident_escalation_path_resource_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,17 +47,17 @@ func TestAccIncidentEscalationPathResource(t *testing.T) {
resource.TestCheckResourceAttr(
"incident_escalation_path.example", "path.0.if_else.else_path.0.notify_channel.targets.0.type", "slack_channel"),
resource.TestCheckResourceAttr(
"incident_escalation_path.example", "path.0.if_else.else_path.0.level.targets.0.urgency", "low"),
"incident_escalation_path.example", "path.0.if_else.else_path.0.notify_channel.targets.0.urgency", "low"),
resource.TestCheckResourceAttr(
"incident_escalation_path.example", "path.0.if_else.else_path.0.level.time_to_ack_seconds", "300"),
"incident_escalation_path.example", "path.0.if_else.else_path.0.notify_channel.time_to_ack_seconds", "300"),
resource.TestCheckResourceAttr(
"incident_escalation_path.example", "path.0.if_else.else_path.1.type", "level"),
resource.TestCheckResourceAttr(
"incident_escalation_path.example", "path.0.if_else.else_path.1.notify_channel.targets.0.type", "schedule"),
"incident_escalation_path.example", "path.0.if_else.else_path.1.level.targets.0.type", "schedule"),
resource.TestCheckResourceAttr(
"incident_escalation_path.example", "path.0.if_else.else_path.1.notify_channel.targets.0.urgency", "low"),
"incident_escalation_path.example", "path.0.if_else.else_path.1.level.targets.0.urgency", "low"),
resource.TestCheckResourceAttr(
"incident_escalation_path.example", "path.0.if_else.else_path.1.notify_channel.time_to_ack_seconds", "300"),
"incident_escalation_path.example", "path.0.if_else.else_path.1.level.time_to_ack_seconds", "300"),
resource.TestCheckResourceAttr(
"incident_escalation_path.example", "working_hours.0.id", "UK"),
resource.TestCheckResourceAttr(
Expand Down

0 comments on commit 3cd489c

Please sign in to comment.