Add assignee changed notification event support
This commit is contained in:
@@ -63,12 +63,15 @@ class ProjectNotificationSettingsControllerTest extends TestCase
|
||||
->where('channelOptions.0.value', NotificationChannel::Discord->value)
|
||||
->where('eventTypeOptions.0.value', NotificationEventType::TicketStatusChanged->value)
|
||||
->where('eventTypeOptions.1.value', NotificationEventType::TicketCreate->value)
|
||||
->where('eventTypeOptions.2.value', NotificationEventType::TicketAssigneeChanged->value)
|
||||
->where('discordAllowedMentionOptions.0.value', 'everyone')
|
||||
->where('discordAllowedMentionOptions.2.value', 'users')
|
||||
->where('filterAttributeOptions.0.value', 'project.id')
|
||||
->where('filterOperatorOptions.0.value', 'equals')
|
||||
->where('templateVariables.0.value', '$url')
|
||||
->where('templateVariables.6.value', '$actor_name')
|
||||
->where('templateVariables.7.value', '$assignee_from')
|
||||
->where('templateVariables.8.value', '$assignee_to')
|
||||
->missing('notificationActions.0.delivery_url'),
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user