From f624a496ffae0c3c9218cacbfa163d26f7581bba Mon Sep 17 00:00:00 2001 From: CocoByte Date: Thu, 26 Sep 2024 09:33:09 -1000 Subject: [PATCH] last fix... --- src/registrar/tests/test_views_domain.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/registrar/tests/test_views_domain.py b/src/registrar/tests/test_views_domain.py index f0776d10c..127b78a4a 100644 --- a/src/registrar/tests/test_views_domain.py +++ b/src/registrar/tests/test_views_domain.py @@ -1567,9 +1567,9 @@ class TestDomainSuborganization(TestDomainOverview): self.domain_information.refresh_from_db() # Add portfolio perms to the user object - # portfolio_permission, _ = UserPortfolioPermission.objects.get_or_create( - # user=self.user, portfolio=portfolio, roles=[UserPortfolioRoleChoices.ORGANIZATION_ADMIN_READ_ONLY] - # ) + portfolio_permission, _ = UserPortfolioPermission.objects.get_or_create( + user=self.user, portfolio=portfolio, roles=[UserPortfolioRoleChoices.ORGANIZATION_MEMBER] + ) self.assertEqual(self.domain_information.sub_organization, suborg)