correctly processing enforcements

This commit is contained in:
2026-02-26 15:35:39 -06:00
parent b43495b26d
commit 570c52e623
4 changed files with 84 additions and 4 deletions

View File

@@ -15,6 +15,7 @@ const NOTIFICATION_CHANNELS: &[&str] = &[
"inquiry_created",
"inquiry_responded",
"enforcement_created",
"enforcement_status_changed",
"event_created",
"workflow_execution_status_changed",
];
@@ -167,6 +168,8 @@ mod tests {
fn test_notification_channels_defined() {
assert!(!NOTIFICATION_CHANNELS.is_empty());
assert!(NOTIFICATION_CHANNELS.contains(&"execution_status_changed"));
assert!(NOTIFICATION_CHANNELS.contains(&"enforcement_created"));
assert!(NOTIFICATION_CHANNELS.contains(&"enforcement_status_changed"));
assert!(NOTIFICATION_CHANNELS.contains(&"inquiry_created"));
}