mirror of
https://github.com/ansible/awx.git
synced 2026-02-28 16:28:43 -03:30
test_notifications.py id fix
Ass-ummed an id of 1
This commit is contained in:
@@ -21,7 +21,7 @@ def test_basic_parameterization(get, post, user, organization):
|
|||||||
response = post(url,
|
response = post(url,
|
||||||
dict(name="test-webhook",
|
dict(name="test-webhook",
|
||||||
description="test webhook",
|
description="test webhook",
|
||||||
organization=1,
|
organization=organization.id,
|
||||||
notification_type="webhook",
|
notification_type="webhook",
|
||||||
notification_configuration=dict(url="http://localhost",
|
notification_configuration=dict(url="http://localhost",
|
||||||
headers={"Test": "Header"})),
|
headers={"Test": "Header"})),
|
||||||
@@ -72,7 +72,7 @@ def test_inherited_notifiers(get, post, user, organization, project):
|
|||||||
response = post(url,
|
response = post(url,
|
||||||
dict(name="test-webhook-{}".format(nfiers),
|
dict(name="test-webhook-{}".format(nfiers),
|
||||||
description="test webhook {}".format(nfiers),
|
description="test webhook {}".format(nfiers),
|
||||||
organization=1,
|
organization=organization.id,
|
||||||
notification_type="webhook",
|
notification_type="webhook",
|
||||||
notification_configuration=dict(url="http://localhost",
|
notification_configuration=dict(url="http://localhost",
|
||||||
headers={"Test": "Header"})),
|
headers={"Test": "Header"})),
|
||||||
|
|||||||
Reference in New Issue
Block a user