Skip to content

Commit

Permalink
chore: change fixtures to managed roles to work with expected validat…
Browse files Browse the repository at this point in the history
…ors (#1018)
  • Loading branch information
AlanCoding committed Aug 22, 2024
1 parent 500d4af commit bc7b6b3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/integration/api/test_user.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ def org_admin_rd():
"delete_organization",
],
content_type=ContentType.objects.get_for_model(models.Organization),
managed=True, # custom roles can not include these permissions
)


Expand All @@ -54,6 +55,7 @@ def org_member_rd():
"view_organization",
],
content_type=ContentType.objects.get_for_model(models.Organization),
managed=True,
)


Expand Down

0 comments on commit bc7b6b3

Please sign in to comment.