Skip to content

Commit

Permalink
Allow string* policy for escalation policy
Browse files Browse the repository at this point in the history
  • Loading branch information
alisonwarner-pd committed Jul 12, 2024
1 parent 7006554 commit 0e138f5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pagerduty/event_orchestration_path_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -522,6 +522,7 @@ func TestEventOrchestrationPathEscalationPolicyUpdate(t *testing.T) {
t.Fatal(err)
}

policy := "POLICY"
want := &EventOrchestrationPathPayload{
OrchestrationPath: &EventOrchestrationPath{
Type: "global",
Expand All @@ -536,7 +537,7 @@ func TestEventOrchestrationPathEscalationPolicyUpdate(t *testing.T) {
Rules: []*EventOrchestrationPathRule{
{
Actions: &EventOrchestrationPathRuleActions{
EscalationPolicy: "POLICY",
EscalationPolicy: &policy,
},
ID: "E-ORC-EP-RULE",
},
Expand Down

0 comments on commit 0e138f5

Please sign in to comment.