Skip to content

Commit 4e4b3da

Browse files
committed
fix test
1 parent e256097 commit 4e4b3da

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tests/sentry/workflow_engine/endpoints/test_organization_test_fire_action.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,7 @@ def test_pagerduty_action(
9999
assert mock_send_trigger.call_count == 1
100100
pagerduty_data = mock_send_trigger.call_args.kwargs.get("data")
101101
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-
)
102+
assert pagerduty_data["payload"]["summary"].startswith(f"[{self.detector.name}]:")
106103

107104
@mock.patch.object(NotifyEventAction, "after")
108105
@mock.patch(

0 commit comments

Comments
 (0)