mirror of
https://github.com/ZwareBear/awx.git
synced 2026-05-01 12:21:48 -05:00
Merge pull request #3839 from zicklam/webhook_disable_ssl_verify
Add "Disable SSL Verification" checkbox to webhook notification Reviewed-by: https://github.com/softwarefactory-project-zuul[bot]
This commit is contained in:
@@ -28,7 +28,7 @@ def test_basic_parameterization(get, post, user, organization):
|
||||
description="test webhook",
|
||||
organization=organization.id,
|
||||
notification_type="webhook",
|
||||
notification_configuration=dict(url="http://localhost",
|
||||
notification_configuration=dict(url="http://localhost", disable_ssl_verification=False,
|
||||
headers={"Test": "Header"})),
|
||||
u)
|
||||
assert response.status_code == 201
|
||||
@@ -81,7 +81,7 @@ def test_inherited_notification_templates(get, post, user, organization, project
|
||||
description="test webhook {}".format(nfiers),
|
||||
organization=organization.id,
|
||||
notification_type="webhook",
|
||||
notification_configuration=dict(url="http://localhost",
|
||||
notification_configuration=dict(url="http://localhost", disable_ssl_verification=False,
|
||||
headers={"Test": "Header"})),
|
||||
u)
|
||||
assert response.status_code == 201
|
||||
@@ -143,7 +143,7 @@ def test_custom_environment_injection(post, user, organization):
|
||||
description="test webhook",
|
||||
organization=organization.id,
|
||||
notification_type="webhook",
|
||||
notification_configuration=dict(url="https://example.org",
|
||||
notification_configuration=dict(url="https://example.org", disable_ssl_verification=False,
|
||||
headers={"Test": "Header"})),
|
||||
u)
|
||||
assert response.status_code == 201
|
||||
|
||||
Reference in New Issue
Block a user