mirror of
https://github.com/ansible/awx.git
synced 2026-06-29 02:18:01 -02:30
Credential can_change updates for organization related field
This commit is contained in:
@@ -159,8 +159,7 @@ def machine_credential():
|
||||
|
||||
@pytest.fixture
|
||||
def org_credential(organization, credential):
|
||||
credential.admin_role.parents.add(organization.admin_role)
|
||||
return credential
|
||||
return Credential.objects.create(kind='aws', name='test-cred', organization=organization)
|
||||
|
||||
@pytest.fixture
|
||||
def inventory(organization):
|
||||
|
||||
Reference in New Issue
Block a user