mirror of
https://github.com/cisagov/manage.get.gov.git
synced 2025-07-31 06:56:33 +02:00
updated tests
This commit is contained in:
parent
6537c93e63
commit
86fbac8249
5 changed files with 71 additions and 75 deletions
|
@ -843,7 +843,7 @@ class DomainRequestStatus(DetailView):
|
|||
return context
|
||||
|
||||
|
||||
@grant_access(IS_DOMAIN_REQUEST_CREATOR)
|
||||
@grant_access(IS_DOMAIN_REQUEST_CREATOR, HAS_PORTFOLIO_DOMAIN_REQUESTS_EDIT)
|
||||
class DomainRequestWithdrawConfirmation(DetailView):
|
||||
"""This page will ask user to confirm if they want to withdraw
|
||||
|
||||
|
@ -857,7 +857,7 @@ class DomainRequestWithdrawConfirmation(DetailView):
|
|||
context_object_name = "DomainRequest"
|
||||
|
||||
|
||||
@grant_access(IS_DOMAIN_REQUEST_CREATOR)
|
||||
@grant_access(IS_DOMAIN_REQUEST_CREATOR, HAS_PORTFOLIO_DOMAIN_REQUESTS_EDIT)
|
||||
class DomainRequestWithdrawn(DetailView):
|
||||
# this view renders no template
|
||||
template_name = ""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue