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