mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-26 04:28:39 +02:00
unit test
This commit is contained in:
parent
05bf5d090e
commit
9bf152a8fc
1 changed files with 3 additions and 1 deletions
|
@ -3227,7 +3227,9 @@ class TestDomainRequestWizard(TestWithUser, WebTest):
|
|||
federal_agency = FederalAgency.objects.create(agency="Portfolio Agency")
|
||||
|
||||
# Create a portfolio with matching organization name
|
||||
Portfolio.objects.create(creator=self.user, organization_name=federal_agency.agency)
|
||||
Portfolio.objects.create(
|
||||
creator=self.user, organization_name=federal_agency.agency, federal_agency=federal_agency
|
||||
)
|
||||
|
||||
# Create domain request with the portfolio agency
|
||||
domain_request = completed_domain_request(federal_agency=federal_agency, user=self.user)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue