mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-04 08:52:16 +02:00
Fix test
This commit is contained in:
parent
9c800e1f1d
commit
bd143af6f1
1 changed files with 1 additions and 1 deletions
|
@ -1161,7 +1161,7 @@ class TestDomainSeniorOfficial(TestDomainOverview):
|
|||
|
||||
# Add portfolio perms to the user object
|
||||
self.user.portfolio = portfolio
|
||||
self.user.portfolio_additional_permissions = [UserPortfolioPermissionChoices.VIEW_PORTFOLIO]
|
||||
self.user.portfolio_roles = [UserPortfolioRoleChoices.ORGANIZATION_ADMIN]
|
||||
self.user.save()
|
||||
self.user.refresh_from_db()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue