lib/flapjack/data/notification.rb in flapjack-0.7.12 vs lib/flapjack/data/notification.rb in flapjack-0.7.13

- old
+ new

@@ -24,10 +24,10 @@ return [] if contacts.nil? || contacts.empty? event_id = event.id event_state = event.state - severity = if ([event_state, max_notified_severity] & ['critical', 'unknown']).any? + severity = if ([event_state, max_notified_severity] & ['critical', 'unknown', 'test_notifications']).any? 'critical' elsif [event_state, max_notified_severity].include?('warning') 'warning' else 'ok'