Skip to content

Commit

Permalink
fix tests' url names
Browse files Browse the repository at this point in the history
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
  • Loading branch information
BeryJu committed Oct 11, 2023
1 parent 35102cc commit 196746c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion authentik/rbac/tests/test_api_assigned_by_roles.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def test_filter_assigned(self):
# self.user doesn't have permissions to see their (object) permissions
self.client.force_login(self.superuser)
res = self.client.get(
reverse("authentik_api:rbac-assigned-roles-list"),
reverse("authentik_api:permissions-assigned-by-roles-list"),
{
"model": "authentik_stages_invitation.invitation",
"object_pk": str(inv.pk),
Expand Down
2 changes: 1 addition & 1 deletion authentik/rbac/tests/test_api_assigned_by_users.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def test_filter_assigned(self):
# self.user doesn't have permissions to see their (object) permissions
self.client.force_login(self.superuser)
res = self.client.get(
reverse("authentik_api:rbac-assigned-users-list"),
reverse("authentik_api:permissions-assigned-by-users-list"),
{
"model": "authentik_stages_invitation.invitation",
"object_pk": str(inv.pk),
Expand Down

0 comments on commit 196746c

Please sign in to comment.