mirror of
https://github.com/ansible/awx.git
synced 2026-02-27 15:58:45 -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,
|
||||
dict(name="test-webhook",
|
||||
description="test webhook",
|
||||
organization=1,
|
||||
organization=organization.id,
|
||||
notification_type="webhook",
|
||||
notification_configuration=dict(url="http://localhost",
|
||||
headers={"Test": "Header"})),
|
||||
@@ -72,7 +72,7 @@ def test_inherited_notifiers(get, post, user, organization, project):
|
||||
response = post(url,
|
||||
dict(name="test-webhook-{}".format(nfiers),
|
||||
description="test webhook {}".format(nfiers),
|
||||
organization=1,
|
||||
organization=organization.id,
|
||||
notification_type="webhook",
|
||||
notification_configuration=dict(url="http://localhost",
|
||||
headers={"Test": "Header"})),
|
||||
|
||||
Reference in New Issue
Block a user