Skip to content

Commit f6c3a2e

Browse files
committed
Fix issue alert tests
1 parent 7b8d789 commit f6c3a2e

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

sentry/data_source_sentry_issue_alert_test.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,19 +151,19 @@ resource "sentry_issue_alert" "test" {
151151
actions = [
152152
{
153153
id = "sentry.mail.actions.NotifyEmailAction"
154-
name = "Send a notification to IssueOwners"
154+
name = "Send a notification to IssueOwners and if none can be found then send a notification to ActiveMembers"
155155
targetType = "IssueOwners"
156156
targetIdentifier = ""
157157
},
158158
{
159159
id = "sentry.mail.actions.NotifyEmailAction"
160-
name = "Send a notification to Team"
160+
name = "Send a notification to Team and if none can be found then send a notification to ActiveMembers"
161161
targetType = "Team"
162162
targetIdentifier = sentry_team.test.team_id
163163
},
164164
{
165165
id = "sentry.mail.actions.NotifyEmailAction"
166-
name = "Send a notification to Member"
166+
name = "Send a notification to Member and if none can be found then send a notification to ActiveMembers"
167167
targetType = "Member"
168168
targetIdentifier = 94401
169169
},

sentry/resource_sentry_issue_alert_test.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -126,13 +126,13 @@ func TestAccSentryIssueAlert_basic(t *testing.T) {
126126
resource.TestCheckResourceAttr(rn, "actions.2.id", "sentry.rules.actions.notify_event.NotifyEventAction"),
127127
resource.TestCheckTypeSetElemNestedAttrs(rn, "actions.*", map[string]string{
128128
"id": "sentry.mail.actions.NotifyEmailAction",
129-
"name": "Send a notification to IssueOwners",
129+
"name": "Send a notification to IssueOwners and if none can be found then send a notification to ActiveMembers",
130130
"targetType": "IssueOwners",
131131
"targetIdentifier": "",
132132
}),
133133
resource.TestCheckTypeSetElemNestedAttrs(rn, "actions.*", map[string]string{
134134
"id": "sentry.mail.actions.NotifyEmailAction",
135-
"name": "Send a notification to Team",
135+
"name": "Send a notification to Team and if none can be found then send a notification to ActiveMembers",
136136
"targetType": "Team",
137137
"targetIdentifier": "",
138138
}),
@@ -311,13 +311,13 @@ resource "sentry_issue_alert" "test" {
311311
actions = [
312312
{
313313
id = "sentry.mail.actions.NotifyEmailAction"
314-
name = "Send a notification to IssueOwners"
314+
name = "Send a notification to IssueOwners and if none can be found then send a notification to ActiveMembers"
315315
targetType = "IssueOwners"
316316
targetIdentifier = ""
317317
},
318318
{
319319
id = "sentry.mail.actions.NotifyEmailAction"
320-
name = "Send a notification to Team"
320+
name = "Send a notification to Team and if none can be found then send a notification to ActiveMembers"
321321
targetType = "Team"
322322
targetIdentifier = sentry_team.test.team_id
323323
},

0 commit comments

Comments
 (0)