Skip to content

Commit

Permalink
Fix permission spec after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
coderbydesign committed Dec 9, 2021
1 parent 9bd8874 commit bef2f4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/management/permission/test_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ def setUp(self):
permission="foo:bar:*", description="Description test.", tenant=self.tenant
)
self.permissionI.permissions.add(self.permissionA)
self.permissionJ = Permission.objects.create(permission="cost-management:*:baz")
self.permissionJ = Permission.objects.create(permission="cost-management:*:baz", tenant=self.tenant)

self.roleA = Role.objects.create(name="roleA", tenant=self.tenant)
self.roleB = Role.objects.create(name="roleB", tenant=self.tenant)
Expand Down

0 comments on commit bef2f4d

Please sign in to comment.