From 208ef0ce256cf6d410a4f2ed58b5ec123a4deb72 Mon Sep 17 00:00:00 2001 From: Alan Rominger Date: Tue, 28 May 2024 11:53:01 -0400 Subject: [PATCH] Update test so that DAB change can merge (#15222) --- awx/main/tests/functional/test_rbac_api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/main/tests/functional/test_rbac_api.py b/awx/main/tests/functional/test_rbac_api.py index e1e76e981e01..8eb26177a42f 100644 --- a/awx/main/tests/functional/test_rbac_api.py +++ b/awx/main/tests/functional/test_rbac_api.py @@ -187,7 +187,7 @@ def test_remove_role_from_user(role, post, admin): @pytest.mark.django_db -@override_settings(ANSIBLE_BASE_ALLOW_TEAM_ORG_ADMIN=True) +@override_settings(ANSIBLE_BASE_ALLOW_TEAM_ORG_ADMIN=True, ANSIBLE_BASE_ALLOW_TEAM_ORG_MEMBER=True) def test_get_teams_roles_list(get, team, organization, admin): team.member_role.children.add(organization.admin_role) url = reverse('api:team_roles_list', kwargs={'pk': team.id})