fix unit test

This commit is contained in:
zandercymatics 2024-09-05 08:53:37 -06:00
parent 47e8934cde
commit 9d4ab22dc4
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
2 changed files with 8 additions and 11 deletions

View file

@ -244,7 +244,7 @@ class User(AbstractUser):
if permission:
return permission.portfolio
return None
def get_portfolios(self):
return self.portfolio_permissions.all()