mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-08-06 01:35:22 +02:00
Update test_views_portfolio.py
This commit is contained in:
parent
b0b08dc74a
commit
8d58b38900
1 changed files with 4 additions and 0 deletions
|
@ -858,6 +858,8 @@ class TestPortfolio(WebTest):
|
|||
status=DomainRequest.DomainRequestStatus.WITHDRAWN,
|
||||
portfolio=self.portfolio,
|
||||
)
|
||||
domain_request.creator = self.user
|
||||
domain_request.save()
|
||||
|
||||
self.client.force_login(self.user)
|
||||
# Perform delete
|
||||
|
@ -889,6 +891,8 @@ class TestPortfolio(WebTest):
|
|||
status=DomainRequest.DomainRequestStatus.STARTED,
|
||||
portfolio=self.portfolio,
|
||||
)
|
||||
domain_request.creator = self.user
|
||||
domain_request.save()
|
||||
|
||||
self.client.force_login(self.user)
|
||||
# Attempt to delete
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue