Skip to content

Commit

Permalink
✅ updated app_link tests to include the view_only=True
Browse files Browse the repository at this point in the history
  • Loading branch information
bart-maykin committed Dec 11, 2024
1 parent 2174803 commit 00dc6e8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/unit/test_app_link.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@ def test_as_list_structure(self):
"name": self.app_link.name,
"app_label": self.app_group.slug,
"admin_url": self.app_link.link,
"view_only": True,
},
)

Expand Down Expand Up @@ -180,6 +181,7 @@ def test_dashboard_active_link_only_delete_permission(self):
"name": self.app_link.name,
"app_label": self.app_group.slug,
"admin_url": self.app_link.link,
"view_only": True,
},
)

Expand Down Expand Up @@ -208,6 +210,7 @@ def test_dashboard_active_link_only_add_permission(self):
"name": self.app_link.name,
"app_label": self.app_group.slug,
"admin_url": self.app_link.link,
"view_only": True,
},
)

Expand Down Expand Up @@ -236,6 +239,7 @@ def test_dashboard_active_link_only_change_permission(self):
"name": self.app_link.name,
"app_label": self.app_group.slug,
"admin_url": self.app_link.link,
"view_only": True,
},
)

Expand Down

0 comments on commit 00dc6e8

Please sign in to comment.