From 7ee2c89ab56a02ec916faebd552341e99fddca9c Mon Sep 17 00:00:00 2001 From: Akita Noek Date: Tue, 19 Apr 2016 14:17:15 -0400 Subject: [PATCH] test_notifications.py id fix Ass-ummed an id of 1 --- awx/main/tests/functional/test_notifications.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/awx/main/tests/functional/test_notifications.py b/awx/main/tests/functional/test_notifications.py index 9b966d6c07..37fb394538 100644 --- a/awx/main/tests/functional/test_notifications.py +++ b/awx/main/tests/functional/test_notifications.py @@ -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"})),