Merge branch 'main' of https://github.com/cisagov/manage.get.gov into rh/2592-domain-request-export

This commit is contained in:
Rebecca Hsieh 2024-10-03 12:05:34 -07:00
commit ccbbc56b64
No known key found for this signature in database
17 changed files with 822 additions and 25 deletions

View file

@ -358,11 +358,6 @@ class ExportDataTest(MockDbForIndividualTests, MockEppLib):
self.assertIn(self.domain_3.name, csv_content)
self.assertNotIn(self.domain_2.name, csv_content)
# Test the output for readonly admin
portfolio_permission.roles = [UserPortfolioRoleChoices.ORGANIZATION_ADMIN_READ_ONLY]
portfolio_permission.save()
portfolio_permission.refresh_from_db()
# Get the csv content
csv_content = self._run_domain_data_type_user_export(request)
self.assertIn(self.domain_1.name, csv_content)