Skip to content

Commit c915467

Browse files
committed
test: confirm branch failures match the if
1 parent fd69d3f commit c915467

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ jobs:
8686
name: Regression notifications
8787
runs-on: ubuntu-latest
8888
needs: build
89-
if: failure()
89+
if: failure() && github.ref == 'refs/heads/zimeg-ci-notifications'
9090
steps:
9191
- name: Send notifications of failing tests
9292
uses: slackapi/slack-github-action@b0fa283ad8fea605de13dc3f449259339835fc52 # v2.1.0

tests/scenario_tests/test_app.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,7 @@ def handle(context: BoltContext, respond):
264264

265265
req = BoltRequest(body=app_mention_event_body, headers={}, mode="socket_mode")
266266
response = app.dispatch(req)
267-
assert response.status == 200
267+
assert response.status == 418
268268
assert result["called"] is True
269269

270270
def test_argument_logger_propagation(self):

0 commit comments

Comments
 (0)