Skip to content

Commit 30e01dc

Browse files
committed
test: confirm an erroring test posts a notification
1 parent 45760a8 commit 30e01dc

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: ${{ !success() && github.ref == 'refs/heads/main' && github.event_name != 'workflow_dispatch' }}
89+
if: ${{ !success() }}
9090
steps:
9191
- name: Send notifications of failing tests
9292
uses: slackapi/slack-github-action@91efab103c0de0a537f72a35f6b8cda0ee76bf0a # v2.1.1

tests/slack_bolt/context/test_say.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ def teardown_method(self):
2222
def test_say(self):
2323
say = Say(client=self.web_client, channel="C111")
2424
response: SlackResponse = say(text="Hi there!")
25-
assert response.status_code == 200
25+
assert response.status_code == 404
2626

2727
def test_say_unfurl_options(self):
2828
say = Say(client=self.web_client, channel="C111")

0 commit comments

Comments
 (0)