mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-31 23:16:36 +02:00
fix unit test
This commit is contained in:
parent
47e8934cde
commit
9d4ab22dc4
2 changed files with 8 additions and 11 deletions
|
@ -244,7 +244,7 @@ class User(AbstractUser):
|
|||
if permission:
|
||||
return permission.portfolio
|
||||
return None
|
||||
|
||||
|
||||
def get_portfolios(self):
|
||||
return self.portfolio_permissions.all()
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue