1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-31 15:21:13 +03:00

test_notifications.py id fix

Ass-ummed an id of 1
This commit is contained in:
Akita Noek 2016-04-19 14:17:15 -04:00
parent 85a1b30af5
commit 7ee2c89ab5

View File

@ -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"})),