Skip to content

Commit

Permalink
fixup! Add more tests for filtering by event types
Browse files Browse the repository at this point in the history
  • Loading branch information
johannaengland committed Sep 27, 2023
1 parent edcb8b3 commit ae73098
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/notificationprofile/test_media.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def test_find_destinations_by_filtering_by_event_types(self):
destinations = find_destinations_for_event(event)
self.assertIn(ack_destination, destinations)

@override_settings(ARGUS_FALLBACK_FILTER={"acked": False})
@override_settings(ARGUS_FALLBACK_FILTER={"event_types": ["ACK"]})
def test_find_destinations_by_filtering_by_event_types_using_fallback_filter(self):
ack_event_type_profile = factories.NotificationProfileFactory(
user=PersonUserFactory(),
Expand Down

0 comments on commit ae73098

Please sign in to comment.