mirror of
https://github.com/ansible/awx.git
synced 2026-05-10 10:57:35 -02:30
Fix the m2m_changed when accessed reversed
This commit is contained in:
@@ -69,7 +69,7 @@ def test_cant_delete_role(delete, admin):
|
||||
# Some day we might want to do this, but until that is speced out, lets
|
||||
# ensure we don't slip up and allow this implicitly through some helper or
|
||||
# another
|
||||
response = delete(reverse('api:role_detail', args=(admin.resource.admin_role.id,)), admin)
|
||||
response = delete(reverse('api:role_detail', args=(admin.admin_role.id,)), admin)
|
||||
assert response.status_code == 405
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user