mirror of
https://github.com/ansible/awx.git
synced 2026-05-07 17:37:37 -02:30
allow null data cases in credential can_change
This commit is contained in:
@@ -125,6 +125,8 @@ def test_org_credential_access_member(alice, org_credential, credential):
|
||||
assert access.can_change(org_credential, {
|
||||
'description': 'New description.',
|
||||
'organization': org_credential.organization.pk})
|
||||
assert access.can_change(org_credential, {
|
||||
'description': 'New description.'})
|
||||
assert access.can_change(credential, {
|
||||
'description': 'New description.',
|
||||
'organization': None})
|
||||
|
||||
Reference in New Issue
Block a user