We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e256097 commit 4e4b3daCopy full SHA for 4e4b3da
tests/sentry/workflow_engine/endpoints/test_organization_test_fire_action.py
@@ -99,10 +99,7 @@ def test_pagerduty_action(
99
assert mock_send_trigger.call_count == 1
100
pagerduty_data = mock_send_trigger.call_args.kwargs.get("data")
101
assert pagerduty_data is not None
102
- # test notification has its own type, so it will pick up the issue stream detector
103
- assert pagerduty_data["payload"]["summary"].startswith(
104
- f"[{self.issue_stream_detector.name}]:"
105
- )
+ assert pagerduty_data["payload"]["summary"].startswith(f"[{self.detector.name}]:")
106
107
@mock.patch.object(NotifyEventAction, "after")
108
@mock.patch(
0 commit comments