From 7fdd81a6ae090aba8c7d284c91194f558bd36bdb Mon Sep 17 00:00:00 2001 From: Kaxil Naik Date: Fri, 12 Jun 2020 23:06:10 +0100 Subject: [PATCH] Fix failing TestSlackWebhookHook `conn_type` was enforced by #9187 --- tests/providers/slack/hooks/test_slack_webhook.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/providers/slack/hooks/test_slack_webhook.py b/tests/providers/slack/hooks/test_slack_webhook.py index b1fadcd056033..4edfdfab197e9 100644 --- a/tests/providers/slack/hooks/test_slack_webhook.py +++ b/tests/providers/slack/hooks/test_slack_webhook.py @@ -60,16 +60,19 @@ def setUp(self): db.merge_conn( Connection( conn_id='slack-webhook-default', + conn_type='http', extra='{"webhook_token": "your_token_here"}') ) db.merge_conn( Connection( conn_id='slack-webhook-url', + conn_type='http', host='https://hooks.slack.com/services/T000/B000/XXX') ) db.merge_conn( Connection( conn_id='slack-webhook-host', + conn_type='http', host='https://hooks.slack.com/services/T000/') )