mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-21 10:16:13 +02:00
code commmenting
This commit is contained in:
parent
d4d066bcd6
commit
01a6257ef4
1 changed files with 2 additions and 0 deletions
|
@ -165,6 +165,8 @@ class TestPortfolioViews(TestWithUser, WebTest):
|
|||
portfolio_page, reverse("portfolio-domain-requests", kwargs={"portfolio_id": self.portfolio.pk})
|
||||
)
|
||||
|
||||
# reducing portfolio permissions to just VIEW_PORTFOLIO, which should remove domains
|
||||
# and domain requests from nav
|
||||
self.user.portfolio_additional_permissions = [User.UserPortfolioPermissionChoices.VIEW_PORTFOLIO]
|
||||
self.user.save()
|
||||
self.user.refresh_from_db()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue