fix unit tests

This commit is contained in:
Rachid Mrad 2024-08-01 08:42:57 -04:00
parent ca24078f50
commit 7b46e39a89
No known key found for this signature in database

View file

@ -1379,7 +1379,7 @@ class TestUser(TestCase):
self.assertTrue(user_can_view_all_domains)
self.assertFalse(user_can_view_all_requests)
self.user.portfolio_roles = [User.UserPortfolioRoleChoices.ORGANIZATION_ADMIN]
self.user.portfolio_roles = [UserPortfolioRoleChoices.ORGANIZATION_ADMIN]
self.user.save()
self.user.refresh_from_db()